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

training.py can't load models.py #38

Closed
fschvart opened this issue Sep 10, 2022 · 1 comment
Closed

training.py can't load models.py #38

fschvart opened this issue Sep 10, 2022 · 1 comment

Comments

@fschvart
Copy link

Hi,

Thank you so much for putting this model out. Excellent work!
I'm trying to train the model and I stumble upon a problem, that points out to the models.py file
When I try to run training.py with the gin file, this is the error message I get:

Traceback (most recent call last):
File "C:\videoseg\TransNetV2\training\training.py", line 10, in
import models
File "C:\videoseg\TransNetV2\training\models.py", line 168, in
@gin.configurable(blacklist=["name"])
TypeError: configurable() got an unexpected keyword argument 'blacklist'

Do you have a sense of what could be the problem?
Thanks!

@fschvart
Copy link
Author

OK, found the problem. In latest gin, blacklist has to be replaced with denylist

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

1 participant