lucaslie / torchprune

A research library for pytorch-based neural network pruning, compression, and more.
https://people.csail.mit.edu/lucasl/
MIT License
161 stars 24 forks source link

FileNotFoundError: This parameter file does not exist #7

Open Jhongn opened 2 years ago

Jhongn commented 2 years ago

Thanks for sharing! I want to reproduce the experiment of ALDS. When I execute the command python -m experiment.main param/cifar/prune/resnet20.yaml, I get the following error FileNotFoundError: This parameter file does not exist. I tried to trace the code but still can't solve the problem. Maybe I misunderstood some part,I hope you can answer it for me, thank you very much!

Raywoo1 commented 2 years ago

I also encountered this problem. Have you solved it?

Q-H-Zhang commented 1 year ago

I temporarily fixed the problem by fixing the code in /root/workspace/zqh/torchprune/paper/alds/param/cifar/prune/resnet20.yaml

replace file: "paper/alds/param/cifar/prune/common.yaml" by: file: "param/cifar/prune/common.yaml"

PS:Temporary solution