-
Notifications
You must be signed in to change notification settings - Fork 0
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
Run model from hydra
setup
#16
Conversation
was this a real question or a statement? |
offline: False | ||
project: "molbind" | ||
entity: "adrianmirza" | ||
entity: "wandb_username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this is the ideal default. Perhaps nothing or environment variable is even better.
I mean "better" because this here can lead to silent or hard-to-follow bugs
But this is a minor point.
|
||
rootutils.setup_root(__file__, indicator=".project-root", pythonpath=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did know this module!
what didn't work without this?
|
||
device_count = torch.cuda.device_count() | ||
trainer = L.Trainer( | ||
max_epochs=100, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you maybe wand to also make max_epochs
and accelerator customizable (for debugging, mps
on MacBook might be fine, too)
data_modalities=train_modality_data, | ||
batch_size=config.data.batch_size, | ||
shuffle=True, | ||
num_workers=1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you have a more complex loader, you might be happy about having more workers
dataset=data_modalities[modality], | ||
modality=modality, | ||
central_modality=central_modality, | ||
context_length=256, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be fixed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks cool, nice progress 🚀
Squash and merge for clean commits and progress tracking would be nice?