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

add 'transfer' function that can be called from another script #63

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

Conversation

momo-the-monster
Copy link

also adds TransferParams class that incorporates all known command-line params.

…lass to incorporate all current command-line options
@arthur-fontaine
Copy link

@ProGamerGov When are you going to merge? I'd like to use it a function...

@lucasfijen
Copy link

Please note that some of the functions, such as setup_multi_device(), setup_gpu() and setup_optimizer still rely on the global params settings in this PR, as they are defined outside of the transfer().

I think that could be best fixed by placing the argparser into the main() function, and adding the params variables in the functions that are outside the transfer(params) function

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.

None yet

3 participants