You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vedaldi Thank you for the detailed tutorial, I learned a lot by playing with it.
In exercise 4 it seems the imageMean is calculated on all the data (train+validation). In realistic scenario the validation set is given after the training phase.
What do you think about the following change:
exercise4.m on line 45: imageMean = mean(imdb.images.data(:)) ;
should maybe replaced by imageMean = mean(imdb.images.data(imdb.images.set==1)) ;
The text was updated successfully, but these errors were encountered:
Hi, yes, this is probably a good suggestion. However, you would need to modify your solution a little to account for the fact that data has H x W x 3 x N dimensions.
@vedaldihttps://github.com/vedaldi Thank you for the detailed tutorial, I learned a lot by playing with it.
In exercise 4 it seems the imageMean is calculated on all the data (train+validation). In realistic scenario the validation set is given after the training phase.
What do you think about the following change:
exercise4.m on line 45:
imageMean = mean(imdb.images.data(:)) ;
%should maybe replaced by
imageMean = mean(imdb.images.data( imdb.images.set==1)) ;
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #14
Thank you for the quick reply, I fixed my solution to: train_data=imdb.images.data(:,:,imdb.images.set==1); imageMean =mean(train_data(:))
It made Less than a half a percent diff in the imageMean value
@vedaldi Thank you for the detailed tutorial, I learned a lot by playing with it.
In exercise 4 it seems the imageMean is calculated on all the data (train+validation). In realistic scenario the validation set is given after the training phase.
What do you think about the following change:
exercise4.m on line 45:
imageMean = mean(imdb.images.data(:)) ;
should maybe replaced by
imageMean = mean(imdb.images.data(imdb.images.set==1)) ;
The text was updated successfully, but these errors were encountered: