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

Error loading torchvision.dll #7

Open
matobler opened this issue Mar 11, 2022 · 2 comments
Open

Error loading torchvision.dll #7

matobler opened this issue Mar 11, 2022 · 2 comments

Comments

@matobler
Copy link

I am getting an error that the torchvision.dll can not be loaded (the file downloaded and is present in the Cache folder). Same error on two different machines. Visual C++ was installed. R version is 4.1.3, 64bit. Any suggestions?

Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Users/Mathias/AppData/Local/CameraTrapDetector/CameraTrapDetector/Cache/torchvision.dll': LoadLibrary failure: The specified procedure could not be found.

@mikeyEcology
Copy link
Collaborator

Yes. There was an update to the torch package that requires me to update this package. I'm working on it but it will take a few days. In the meantime, you can use this

devtools::install_version("torch", version = "0.6.0", repos = "http://cran.us.r-project.org")

to install the older version of torch, which should work.

@matobler
Copy link
Author

That worked, thanks a lot for the quick response! Is GPU supported with this version or will it only run on the CPU (a bit slow at the moment for large datasets). I have the GPU version of Torch installed and CUDA is working but your model is not using the GPU. I have no experience with Torch (use TF for most of my work), so I might be missing something.

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

No branches or pull requests

2 participants