Comments (7)
Hello,
This seems to have done the job. Thank you very much!
from dcam.
I retried with the Synthetic_experiment_DCAM.ipynb
notebook and the error can be reproduced in that way too.
from dcam.
Hi,
Thank you for your interest in our code and for pointing out this error.
Unfortunately, I am not able to reproduce the error. Here is a notebook (pdf format) with the code you sent me (using CPU instead of GPU) using the dCAM-env conda environment.
This code runs on my side without error (the last error is a keyboard interrupt error) for dInception and dResNet.
Do you still have the same error when using device='cpu'?
Best,
Paul
from dcam.
Hello,
Thank you for your answer. I ran the exact same code in Google Colab and I unfortunately still get the error.
Here is a link to the notebook that I used to reproduce the error: https://colab.research.google.com/drive/1RQpa4PqS7tvMIVMKXOFr6KJxeVAeaquL?usp=sharing. You would still have to upload FingerMovements.pickle
and CNN_models.py
for it to run. The first two cells are me trying to install the recommended PyTorch version, however, there is no difference between that version and the default in Colab, which is PyTorch 2.
from dcam.
Hi,
Thank you for sharing this notebook!
I opened the Google colab notebook you shared in your previous message; I uploaded CNN_model.py and FingerMovement.pickle and ran it without error. Here is a screenshot.
The problem might be with the CNN_model.py file version. Are you sure your CNN_model.py file is identical to the one in the repo?
from dcam.
Hello,
Thank you for your response and your suggestion. I tried running the notebook again by downloading CNN_model.py from source, and uploaded FingerMovements.pickle
to my Google Drive, shared it publicly and let Colab download it (it was downloaded from the zip at parisdescartes.fr and I re-uploaded this particular pickle file only). Unfortunately, the error remains. The updated notebook can still be found here, it is the same link. The runtime I ran it on is CPU only.
It should be noted that the PyTorch version on the current version of the notebook is 2.0.0, but in my local system it is 1.13.1 and I have the same error.
from dcam.
Hi,
Thanks for the new notebook!
This time, I managed to reproduce the error. I pushed a new version of CNN_model.py, and it should work now for both torch 2.0.0 and torch 1.7.1.
Let me know if you still get the error.
from dcam.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcam.