FourierHeatmap
FourierHeatmap copied to clipboard
Execution issue in v0.1.0
Hello,
First off, thank you for the Fourier analysis implementation. Just have 2 questions:
-
For the below command, what exactly is going on with the [WEIGHT PATH] argument? Should the weight path be manually typed there? python eval.py -a resnet56 -w [WEIGHT_PATH] -d cifar10 --h_map_size 31 --w_map_size 31 -k 1 -l [LOG_DIR] --eps 32
-
Also, when I try to load a pretrained model "resnet34" using the below command:
python eval.py -a resnet34 -w [WEIGHT_PATH] -d cifar10 --h_map_size 31 --w_map_size 31 -k 1 -l [LOG_DIR] --eps 32
I get the following error:
Traceback (most recent call last):
File "eval.py", line 76, in
Awaiting your valuable response
Disclaimer: not an author of this repo, just experimenting with it.
1: Yes. Here you'll find the weights for downloading: https://github.com/akamaster/pytorch_resnet_cifar10. They should probably be on the readme IMO. I could not find out how to use relative paths, but absolute paths worked (e.g. ~/FourierHeatMap/fhmap/resnet50.pt)
2: On the current version resnet34 is not available as default and you would need to add it yourself on schema/arch.py, don't know about the previous versions.