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

--model isn't usable #1

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

Conversation

tornikeo
Copy link

--model arg isn't usable, since it's not even accepted into arglist in start_training.py

Copy link
Contributor

@fluegelk fluegelk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi tornikeo, thanks for your contribution and good catch with the outdated CLI argument!
I left some comments on your code that should be addressed before we merge your code.

Comment on lines +128 to +133
# if config.model is None:
assert config.depth is not None and config.width is not None
model = create_model(config.depth, config.width, **model_kwargs)
# else:
# model_creator = getattr(f3_models, config.model)
# model = model_creator(**model_kwargs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the commented out code

model_creator = getattr(f3_models, config.model)
model = model_creator(**model_kwargs)
# if config.model is None:
assert config.depth is not None and config.width is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line and instead set the depth and width arguments as required (in lines 61 and 62, see line 80 for an example) as they are now always required.

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.

2 participants