GithubHelp home page GithubHelp logo

Comments (4)

unknownentity123 avatar unknownentity123 commented on May 26, 2024

I always use "set CUDA_VISIBLE_DEVICES=1 & python......" when using local repos in an Anaconda env....the usage of the "&" was recommended on another repo and since using that I haven't had any issues

Where I use 1 for my second 1070ti card instead of my first card

from thin-plate-spline-motion-model.

eizoxx avatar eizoxx commented on May 26, 2024

Now is says:

Original:
Der Befehl "CUDA_VISIBLE_DEVICES" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Traceback (most recent call last):
File "D:\AI\Thin-Plate-Spline-Motion-Model\demo.py", line 14, in
from modules.keypoint_detector import KPDetector
File "D:\AI\Thin-Plate-Spline-Motion-Model\modules\keypoint_detector.py", line 3, in
from torchvision import models
ModuleNotFoundError: No module named 'torchvision'

English:
The command "CUDA_VISIBLE_DEVICES" is either misspelled or could not be found
Traceback (most recent call last):
File "D:\AI\Thin-Plate-Spline-Motion-Model\demo.py", line 14, in
from modules.keypoint_detector import KPDetector
File "D:\AI\Thin-Plate-Spline-Motion-Model\modules\keypoint_detector.py", line 3, in
from torchvision import models
ModuleNotFoundError: No module named 'torchvision'

However, the first line is in German. But actually this should not make a difference, because all other commands had also worked

from thin-plate-spline-motion-model.

yoyo-nb avatar yoyo-nb commented on May 26, 2024

You got the error: ModuleNotFoundError: No module named 'torchvision'
You can follow the instructions on pytorch.org to install the appropriate version of torch and torchvision

from thin-plate-spline-motion-model.

spider853 avatar spider853 commented on May 26, 2024

General advices for Linux commands on Windows:
When you see something like XXX=NUMBER python ...
it doesn't work on Windows cmd
to make it work, separate the first part before python and set the enviornament variables manually
set CUDA_VISIBLE_DEVICES=0
and hit enter
then enter the second part from and including pyton ...

from thin-plate-spline-motion-model.

Related Issues (20)

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.