I’m trying to do image regression with fastai v2 but some parts about building the DataBlock i didn’t understand yet.
I’ve already achieved this goal using the fastai v1 earlier, now im trying to do the same, using fastai v2, the code using v1 was:
I want to do the equivalent above, but using the DataBlock of fastai v2.
The objective is to receive image as input and predict a continuos value using a dataframe which first column is the imagePath and the second column the continuous value.
@leozitor You should definitley go through Chapter 6 of Fastbook which explains how to build a datablock , debugging it etc. and also its usage for a Regression example.
It really worked,
from the code you sent i just changed the: blocks=(ImageBlock, PointBlock)
to blocks=(ImageBlock, RegressionBlock)
and it worked exactly how I was expecting !