Giter Club home page Giter Club logo

Comments (5)

Teravus avatar Teravus commented on August 22, 2024 1

Also, for windows, there is no 'export' command. The closest thing to what export does is 'set'

So.. 'export PYTHONPATH=thing' becomes 'set PYTHONPATH=thing'
Hopefully this is helpful.

Both set and export create environment variables. These are then used by the code to take actions.

from background-matting.

senguptaumd avatar senguptaumd commented on August 22, 2024

May be this helps:
#3 (comment)

from background-matting.

bitcoin5000 avatar bitcoin5000 commented on August 22, 2024

May be this helps:
#3 (comment)

thanks,
'set Var=C:\DeepBaackground\Background-Matting-master\models\research:C:\DeepBaackground\Background-Matting-master\models\research\slim'
right?
How to install cudnn and cuda corectly in windows cuda env? im geting error

KeyError: 'CUDA_VISIBLE_DEVICES'

File "test_background-matting_image.py", line 20, in
print('CUDA Device: ' + os.environ["CUDA_VISIBLE_DEVICES"])
File "C:\ProgramData\Anaconda3\envs\tensorflow_gpuenv\lib\os.py", line 678, in getitem
raise KeyError(key) from None
KeyError: 'CUDA_VISIBLE_DEVICES'

from background-matting.

Teravus avatar Teravus commented on August 22, 2024

If your cuda processing video card is the only one in the machine, likely, you will need to do
'set CUDA_VISIBLE_DEVICES=0'

the '0' in the last command is the CUDA device id. Most commonly 0 on computers with only one cuda capable video card. It can be 1 or 2 or 3 or 4... depending on how many video cards your system has.

from background-matting.

senguptaumd avatar senguptaumd commented on August 22, 2024

We have a colab demo that you can easily run, instead of trying to install in on windows. Colab demo is decently fast for images, slow for 60fps video. Closing the issue.

from background-matting.

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.