-
Notifications
You must be signed in to change notification settings - Fork 391
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
Change BYOL task argument name and switch to timm models #918
Conversation
Sorry, I think I messed this up by also changing something in utils.py to get the tests to pass, but probably that should be its own PR change. |
Mhm now I am actually not sure what the best way to proceed is, because the utils.py function extract_encoder (extract_backbone) needs to look for backbone because that is the argument name for the trainer now, so I think I also need to change utils.py? |
Yes, you can change those jointly if needed. In hindsight, maybe we should have had a single PR for all torchvision -> timm changes and a single PR for all argument renames. Changing different tasks separately can lead to inconsistencies. Basically, do whatever you have to do and I'll review. I think at this point we've 100% decided how things should look, it's just a matter of getting PRs merged in a way that doesn't break the tests. |
I think this is the last torchvision -> timm/argument rename PR? Should be easier to convert everything in unison now. |
* change argument name and supporrt timm * list_models() * encoder -> backbone * fix failing test * suggested changes
Change the argument name for the tasks according to comment in #854. And switch from torchvision models to timm models.