Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about training and testing using the same dataset. #28

Open
LiXirong opened this issue Jun 17, 2019 · 2 comments
Open

Question about training and testing using the same dataset. #28

LiXirong opened this issue Jun 17, 2019 · 2 comments

Comments

@LiXirong
Copy link

In miniImagenet_train_few_shot.py and miniImagenet_test_few_shot.py line 15:
import task_generator_test as tg

in task_generator_test.py line 28 and 29:
train_folder = '../datas/miniImagenet/train'
test_folder = '../datas/miniImagenet/test'

it seems that you training and testing on the same dataset, without using the 'val' dataset.

Is this right to train and test in this way???

If I train with train_set and val_set, can I get the same accuracy score in test_set?

@Errorfinder
Copy link

Hi, i think there is a misread about the code:
in task_generator using
train_folder = '../datas/miniImagenet/train' test_folder = '../datas/miniImagenet/val'
and in task_generator_test using
train_folder = '../datas/miniImagenet/train' test_folder = '../datas/miniImagenet/test'
where in second part the training data is redundant, anyway it is not used.

@chocoford
Copy link

same question.
It only imports task_generator_test both in miniimagenet_test_few_shot.py and miniimagenet_train_few_shot.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants