Comments (8)
The top of the error likely mentions that you have no CUDA runtime installed.
$ python gradio_app.py
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7'
from draggan.
I defo have cuda installed, and tried various versions, I tried using conda also, always the same error. Is there an environment setup I need to do perhaps that didn't happen automatically with the install?
from draggan.
It should run without any special setup. Could you run the following snippet with python interpreter at your env and see if it print True ?
import torch
print(torch.cuda.is_available())
from draggan.
I get false, which is very strange, I have installed cuda several times now. Apologies for my errors! could it be an environment variable issue?
from draggan.
It might be, but I could not give a certain answer. Another option is to use our online colab demo where you could obtain a free GPU from google.
from draggan.
online collab demo is throwing the same error.
from draggan.
online collab demo is throwing the same error.
Did you select a GPU via Runtime/Change runtime type ?
from draggan.
Probably need to add "--extra-index-url https://download.pytorch.org/whl/cu118" to the top of the requirements.txt file so that it knows to install torch+cuda, versus just torch. ;)
Or, more specifically, you need to ensure your installed torch version includes "+cu118" or whichever version of the CUDA toolkit you have installed.
from draggan.
Related Issues (20)
- 跑起来后点击图片没反应 HOT 7
- uploaded image was blurred
- 群二维码过期了 HOT 1
- For further information visit https://errors.pydantic.dev/2.1.2/v/missing HOT 8
- mask did not use?
- Error in Mask HOT 2
- 10249
- about license
- Gradio gets stuck in loop after clicking an image or button HOT 6
- No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' HOT 1
- 无法成功修改自己的照片。
- 你们这个东西真的超级难用,不知道是个什么玩意儿 HOT 1
- update install.md to specifiy the tag ‘main' instead of default 'latest' or empty
- python -m draggon.web, when add point, it failed. HOT 2
- Can't apply checkpoint model - missing DLL "bias_act_plugin"- module not found
- AttributeError: 'dict' object has no attribute 'img_resolution' HOT 8
- 为什么最新版本去掉了自定义照片功能
- TypeError: Image.__init__() got an unexpected keyword argument 'source' HOT 1
- Clicking on any button would result in loading forever. HOT 1
- > when i run **python visualizer_drag_gradio.py**
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 draggan.