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

AttributeError: module 'models' has no attribute 'build_model' #17

Open
jsrimr opened this issue Dec 11, 2020 · 3 comments
Open

AttributeError: module 'models' has no attribute 'build_model' #17

jsrimr opened this issue Dec 11, 2020 · 3 comments

Comments

@jsrimr
Copy link

jsrimr commented Dec 11, 2020

https://github.com/dstamoulis/single-path-nas/blob/21c1f3e9c790e591749c0fb861bff3737b6d5fc7/runtime-modeling/main_tflite.py#L311

Actually, I cannot find build_model method in runtime-modeling/models.py

@jsrimr jsrimr closed this as completed Dec 14, 2020
@jsrimr jsrimr reopened this Dec 14, 2020
@jsrimr
Copy link
Author

jsrimr commented Dec 14, 2020

Actually, models.build_model locates in train-final directory, but it's awkward that it is called from main-tflite in runtime-modeling dir.

jsrimr added a commit to jsrimr/single-path-nas that referenced this issue Dec 14, 2020
enyac-group#17 : build_model is not defined in runtime-modeling/models.py
@qianhuiliu
Copy link

hello! Can you reproduce the results reported in the paper? I am working on for many days but can't. The searched results are always repeat_block=1 and kernel_size=3.

@bassel27
Copy link

bassel27 commented Dec 3, 2024

I was working in a Jupyter notebook, and this error kept popping up. I copied my code to a normal .py file and this made Deepface download a certain model. I restarted vscode, and then the Jupyter notebook worked just fine.

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