Skip to content
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

cannot submit #15

Closed
AhmedFrikha opened this issue Aug 26, 2018 · 4 comments
Closed

cannot submit #15

AhmedFrikha opened this issue Aug 26, 2018 · 4 comments

Comments

@AhmedFrikha
Copy link

In the first submission for week 3, I couldn't submit. Here is the error:
AttributeError: module 'grading_utils' has no attribute 'model_total_params'

@ZEMUSHKA
Copy link
Contributor

ZEMUSHKA commented Aug 26, 2018

I assume you run it in Google Colab.
It looks like a bug with downloading, could you please rerun these:

! wget https://raw.githubusercontent.com/hse-aml/intro-to-dl/master/setup_google_colab.py -O setup_google_colab.py
import setup_google_colab
setup_google_colab.setup_week3()

from importlib import reload
import grading_utils
reload(grading_utils)

@ZEMUSHKA
Copy link
Contributor

Most likely you have grading_utils.py from week 2, they are stored in one directory in Colab and overwrite each other.

@AhmedFrikha
Copy link
Author

AhmedFrikha commented Aug 26, 2018

Now it works, thanks!

@chayn1v
Copy link

chayn1v commented Jul 4, 2019

Hello,
week 2 would not import submit. In the beginning it sometimes sometimes runs set up, sometimes does not.

--2019-07-04 04:11:50-- https://raw.githubusercontent.com/hse-aml/intro-to-dl/master/setup_google_colab.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3792 (3.7K) [text/plain]
Saving to: ‘setup_google_colab.py’

setup_google_colab. 100%[===================>] 3.70K --.-KB/s in 0s

2019-07-04 04:11:50 (81.9 MB/s) - ‘setup_google_colab.py’ saved [3792/3792]


inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5


cifar-10-batches-py.tar.gz


mnist.npz

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import submit

ModuleNotFoundError: No module named 'submit'


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants