-
Notifications
You must be signed in to change notification settings - Fork 491
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
Train ResNet-20 model for the CIFAR-10 on colab not working #72
Comments
@besherh Is it possible to remove the whitespace in "/content/gdrive/My Drive/apps/PocketFlow"? The path configuration file seems not able to parse file paths with whitespaces. |
Thanks for the hint, fix it by using: |
Use
|
Thanks, now I have the files that you mentioned. Thanks for your support! |
You should be able to see how many channels have been pruned in the model conversion script's log. Besides, *.pb files can be visualized in TensorBoard. |
Thanks, but what about the pruning ratio? How to figure this out?
Thanks! |
To compute the overall pruning ratio, you need to calculate the number of parameters in each layer before and after pruning, and then sum them up. This can be inferred from model conversion script's log. |
No, this is the number of weight tensors. You need to compute the number of parameters in each tensor (based on each tensor's shape information) and sum them up to obtain the overall number of parameters in the model before and after pruning. |
I was not able to figure how to do this, could you give a quick example if possible! |
@besherh |
I am trying to count the params in the saved model as stated above, is this right ? |
@besherh Yes, I think the above code is correct. |
Hello,
I am using colab to train resnet on cifar10, after mounting google drive I cloned the repository and I was able to run the script. However, Tensorflow is loaded and the data files are passed to the network but I am ending with:
tensorflow.python.framework.errors_impl.NotFoundError: /content/drive/My; No such file or directory
Any suggestions?
Below you can find the code and the log file:
the log:
The text was updated successfully, but these errors were encountered: