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

where is SE_imbalance_s1_384_p0.5_lr2_mt_d0_b24+v+aug/opts.yaml #43

Open
Shreyas-Bhat opened this issue Jul 1, 2021 · 5 comments
Open

Comments

@Shreyas-Bhat
Copy link

Hello,
Can you help me solve this issue. I am testing the pretrained weights and this is the error i am getting

image

@layumi
Copy link
Owner

layumi commented Jul 1, 2021

If you train the model, the yaml file will automatically generated in the data/outputs/your_model_name/ .

@zeroXzero
Copy link

Is it possible to share the trained model files for testing purposes?

@layumi
Copy link
Owner

layumi commented Sep 6, 2021

Hi @zeroXzero
Thanks. I just upload my trained model, which is one of the final models we used.

  • SE_imbalance_s1_384_p0.5_lr2_mt_d0_b24+v+aug (AICity 2020) can be downloaded at GoogleDrive.

@zeroXzero
Copy link

Thank you

@lhbsww
Copy link

lhbsww commented May 14, 2022

@layumi 你好,郑博士,我在通过您提供的训练模型SE_imbalance_s1_384_p0.5_lr2_mt_d0_b24+v+aug (AICity 2020)进行测试时,会发生如下错误,请问是什么原因
Traceback(最近一次调用最后一次):
文件“train_2020.py”,第 441 行,在
model = ft_net_SE(len(class_names), opt.droprate, opt.stride, opt.pool)
文件“/home/luhu/AIC/model .py”,第 317 行,在init
model_ft = pretrainedmodels 中。dict [model_name](num_classes=1000, pretrained='imagenet')
文件“/home/luhu/anaconda3/envs/one_env/lib/python3.6/site-packages/pretrainedmodels/models/senet.py”,第 441 行,在 se_resnext101_32x4d
initialize_pretrained_model(model, num_classes, settings)
文件“/home/luhu/anaconda3/envs/one_env/lib/python3.6/site-packages/pretrainedmodels/models/senet.py”,第 373 行,在 initialize_pretrained_model
model.load_state_dict (model_zoo.load_url(设置['url'
文件“/home/luhu/anaconda3/envs/one_env/lib/python3.6/site-packages/torch/hub.py”,第 528 行,在 load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
文件“/home /luhu/anaconda3/envs/one_env/lib/python3.6/site-packages/torch/serialization.py”,第 593 行,在加载
返回 _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
文件“/home/luhu /anaconda3/envs/one_env/lib/python3.6/site-packages/torch/serialization.py",第 762 行,在 _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, ' <'。

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

4 participants