Giter Club home page Giter Club logo

Comments (7)

Victordmz avatar Victordmz commented on July 23, 2024 1

Hello,

This seems to have done the job. Thank you very much!

from dcam.

Victordmz avatar Victordmz commented on July 23, 2024

I retried with the Synthetic_experiment_DCAM.ipynb notebook and the error can be reproduced in that way too.

from dcam.

boniolp avatar boniolp commented on July 23, 2024

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.

test.pdf

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.

Victordmz avatar Victordmz commented on July 23, 2024

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.

boniolp avatar boniolp commented on July 23, 2024

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.

Screen Shot 2023-04-19 at 3 33 41 PM

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.

Victordmz avatar Victordmz commented on July 23, 2024

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.

boniolp avatar boniolp commented on July 23, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.