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
To_fp16() #90
Comments
Hi.
|
@henry090 that is odd. I got it to works. Below to full code from rmarkdown that created the bug :
num_workers=0 is mandatory to not have the error "RuntimeError: DataLoader worker (pid(s) 482) exited unexpectedly".
To save computation power :
Here what was creating the bug :
|
Could you share session info as well, please? |
@henry090 here it is :
|
Could you install reticulate from Github (then restart RStudio). Then remove |
Okay. With or without |
If you have Cuda, skip that as well. |
Okay. I wait for the current test to finish and then I will run it with the requested changes on more epoch. |
@henry090 it works perfectly : https://github.com/Cdk29/Cassava/blob/main/trying-resnext-with-r-and-fastai.md |
I close this issue, then. If you face an issue, again, please reopen. |
There is one callback describe here : https://docs.fast.ai/callback.fp16.html
Details here : https://docs.fast.ai/callback.fp16.html#Learner.to_fp16
It allow to use less GPU when training a CNN.
The book describe the use of the method when creating the learner, but it can also be used on the learner directly.
Running it in R however create a bug, and I don't see how to use it.
Precisely :
Then running :
learnR %>% lr_find()
Because now the learner is a string.
The text was updated successfully, but these errors were encountered: