PhamQuocHuy1101 / transfer-learning-template

The simple pytorch template for transfer learning
5 stars 0 forks source link

module 'config' has no attribute 'model' #16

Open ZY1234-pixel opened 11 months ago

ZY1234-pixel commented 11 months ago

AttributeError: module 'config' has no attribute 'model'

ZY1234-pixel commented 11 months ago

When I run test.py, I get this error. Could you tell me how to solve it?

PhamQuocHuy1101 commented 11 months ago

Ops, I developed this project for along time. It is out of date, you can view the file train.py, we need load config same as in test

config = setup_config('config', 'training', True)

ZY1234-pixel commented 11 months ago

Thank you very much, I have made the changes as the Train.py and got the test results. Besides, I knew that you used the explore_all dataset but I can't find the download link, can you please share it with me?

PhamQuocHuy1101 commented 11 months ago

Dear, this dataset come from https://arxiv.org/abs/2110.10872 , I don't have permit to share.