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

import config, then config.Config didn't worked for me (and I saw iss… #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

egm108
Copy link

@egm108 egm108 commented Dec 9, 2021

…ues about this from others too).

As I saw in issues, people uses config.config(instead of config), but we could fix this in init.py file to allow user code(test.py, train.py) work.

before patch

import config
config.Config().backbone
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'config' has no attribute 'Config'

after patch

import config
config.Config().backbone
'resnet18'

…ues about this from others too)

��:quit
:qiot
:quit
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

Successfully merging this pull request may close these issues.

1 participant