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

MMSegmentation_Tutorial.ipynb run error 'ConfigDict' object has no attribute 'train_cfg' #391

Closed
cswwp opened this issue Feb 28, 2021 · 1 comment

Comments

@cswwp
Copy link

cswwp commented Feb 28, 2021

Thanks for sharing so great repo, but i meet error when i run MMSegmentation_Tutorial.ipynb, and it shows 'ConfigDict' object has no attribute 'train_cfg'

@hrsma2i
Copy link

hrsma2i commented Mar 1, 2021

@cswwp
I can run it by only passing cfg.model like the following way.

model = build_segmentor(cfg.model)

The error message says cfg.model includes train_cfg.

aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this issue Mar 27, 2023
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this issue Dec 3, 2023
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