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

Changes proposals #1

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

Conversation

KonstantinPakulev
Copy link

Devices should either be passed through a model's constructor or be accessed via variables that are already stored on devices via var.device. This makes it much easier to do changes when the need for multi-gpu training/validation/testing comes.

Also, it is a good thing to make strings used in code as constants so that they can be easily refactored later if needed.

  • Some refactoring for code being more good-looking

…ccessed via variables that are already stored on devices via var.device. This makes it much easier to do changes when the need for multi-gpu training/validation/testing comes.

Also it is a good thing to make strings used in code as constants so that they can be easily refactored later if needed.

+ Some refactoring for code being more good-looking
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.

1 participant