Closed gonenraveh closed 2 months ago
Hi
I ran: python main.py --mode distill_basic --dataset Cifar10 --arch AlexCifarNet --distill_lr 0.001 --train_nets_type known_init --n_nets 1 --test_nets_type same_as_trai
and got: File "cifar_100_dataset_distillation/dataset-distillation/train_distilled_image.py", line 176, in accumulategrad d.grad.add(g) AttributeError: 'NoneType' object has no attribute 'add_'
Please advise. Gonen
We haven't tested this code on later pytorch versions. If you see problems, please try using pytorch 1.0.0.
Hi
I ran: python main.py --mode distill_basic --dataset Cifar10 --arch AlexCifarNet --distill_lr 0.001 --train_nets_type known_init --n_nets 1 --test_nets_type same_as_trai
and got: File "cifar_100_dataset_distillation/dataset-distillation/train_distilled_image.py", line 176, in accumulategrad d.grad.add(g) AttributeError: 'NoneType' object has no attribute 'add_'
Please advise. Gonen