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
when i added cifar-10 datasets to the ~/.torch/data. then i run the cifar.py ,it remind me this error:
D:\Installation\ANACONDA\envs\senet\python.exe E:\study\AI_acc\senet.pytorch-master\cifar.py
Files already downloaded and verified
Files already downloaded and verified
0%| | 0/200 [00:00<?, ?it/s]Traceback (most recent call last):
File "E:\study\AI_acc\senet.pytorch-master\cifar.py", line 38, in
main()
File "E:\study\AI_acc\senet.pytorch-master\cifar.py", line 22, in main
with Trainer(model, optimizer, F.cross_entropy, scheduler=scheduler, callbacks=_callbacks) as trainer:
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 519, in init
super(SupervisedTrainer, self).init(model, optimizer, loss_f, callbacks=callbacks, scheduler=scheduler,
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 122, in init
self.set_scheduler()
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 454, in set_scheduler
raise TypeError(f"scheduler.func is expected to be subclass of _LRScheduler"
TypeError: scheduler.func is expected to be subclass of _LRScheduler but got <class 'type'>
0%| | 0/200 [00:00<?, ?it/s]
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
when i added cifar-10 datasets to the ~/.torch/data. then i run the cifar.py ,it remind me this error:
D:\Installation\ANACONDA\envs\senet\python.exe E:\study\AI_acc\senet.pytorch-master\cifar.py
Files already downloaded and verified
Files already downloaded and verified
0%| | 0/200 [00:00<?, ?it/s]Traceback (most recent call last):
File "E:\study\AI_acc\senet.pytorch-master\cifar.py", line 38, in
main()
File "E:\study\AI_acc\senet.pytorch-master\cifar.py", line 22, in main
with Trainer(model, optimizer, F.cross_entropy, scheduler=scheduler, callbacks=_callbacks) as trainer:
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 519, in init
super(SupervisedTrainer, self).init(model, optimizer, loss_f, callbacks=callbacks, scheduler=scheduler,
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 122, in init
self.set_scheduler()
File "D:\Installation\ANACONDA\envs\senet\lib\site-packages\homura\trainers.py", line 454, in set_scheduler
raise TypeError(f"
scheduler.func
is expected to be subclass of_LRScheduler
"TypeError:
scheduler.func
is expected to be subclass of_LRScheduler
but got <class 'type'>0%| | 0/200 [00:00<?, ?it/s]
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: