Comments (13)
I use virtual environment, and these all lib that I installed
-i https://pypi.org/simple
aiofiles==23.1.0 ; python_version >= '3.7' and python_version < '4.0'
aiohttp==3.8.4 ; python_version >= '3.6'
aiosignal==1.3.1 ; python_version >= '3.7'
altair==5.0.0 ; python_version >= '3.7'
anyio==3.6.2 ; python_full_version >= '3.6.2'
asttokens==2.2.1
async-timeout==4.0.2 ; python_version >= '3.6'
attrs==23.1.0 ; python_version >= '3.7'
backcall==0.2.0
certifi==2023.5.7 ; python_version >= '3.6'
charset-normalizer==3.1.0 ; python_full_version >= '3.7.0'
click==8.1.3 ; python_version >= '3.7'
colorama==0.4.6 ; platform_system == 'Windows'
comm==0.1.3 ; python_version >= '3.6'
contourpy==1.0.7 ; python_version >= '3.8'
cycler==0.11.0 ; python_version >= '3.6'
debugpy==1.6.7 ; python_version >= '3.7'
decorator==5.1.1 ; python_version >= '3.5'
executing==1.2.0
fastapi==0.95.2 ; python_version >= '3.7'
ffmpy==0.3.0
filelock==3.12.0 ; python_version >= '3.7'
fire==0.5.0
fonttools==4.39.4 ; python_version >= '3.8'
frozenlist==1.3.3 ; python_version >= '3.7'
fsspec==2023.5.0 ; python_version >= '3.8'
gradio==3.32.0
gradio-client==0.2.5 ; python_version >= '3.7'
h11==0.14.0 ; python_version >= '3.7'
httpcore==0.17.1 ; python_version >= '3.7'
httpx==0.24.1 ; python_version >= '3.7'
huggingface-hub==0.14.1 ; python_full_version >= '3.7.0'
idna==3.4 ; python_version >= '3.5'
imageio==2.28.1
imageio-ffmpeg==0.4.8
ipykernel==6.23.1
ipython==8.13.2 ; python_version >= '3.9'
ipywidgets==8.0.6
jedi==0.18.2 ; python_version >= '3.6'
jinja2==3.1.2 ; python_version >= '3.7'
jsonschema==4.17.3 ; python_version >= '3.7'
jupyter-client==8.2.0 ; python_version >= '3.8'
jupyter-core==5.3.0 ; python_version >= '3.8'
jupyterlab-widgets==3.0.7 ; python_version >= '3.7'
kiwisolver==1.4.4 ; python_version >= '3.7'
linkify-it-py==2.0.2
markdown-it-py[linkify]==2.2.0 ; python_version >= '3.7'
markupsafe==2.1.2 ; python_version >= '3.7'
matplotlib==3.7.1 ; python_version >= '3.8'
matplotlib-inline==0.1.6 ; python_version >= '3.5'
mdit-py-plugins==0.3.3 ; python_version >= '3.7'
mdurl==0.1.2 ; python_version >= '3.7'
multidict==6.0.4 ; python_version >= '3.7'
nest-asyncio==1.5.6 ; python_version >= '3.5'
ninja==1.11.1
numpy==1.24.3
orjson==3.8.12 ; python_version >= '3.7'
packaging==23.1 ; python_version >= '3.7'
pandas==2.0.1 ; python_version >= '3.8'
parso==0.8.3 ; python_version >= '3.6'
pickleshare==0.7.5
pillow==9.5.0 ; python_version >= '3.7'
platformdirs==3.5.1 ; python_version >= '3.7'
prompt-toolkit==3.0.38 ; python_full_version >= '3.7.0'
psutil==5.9.5 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
pure-eval==0.2.2
pydantic==1.10.7 ; python_version >= '3.7'
pydub==0.25.1
pygments==2.15.1 ; python_version >= '3.7'
pyparsing==3.0.9 ; python_full_version >= '3.6.8'
pyrsistent==0.19.3 ; python_version >= '3.7'
python-dateutil==2.8.2 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
python-multipart==0.0.6 ; python_version >= '3.7'
pytz==2023.3
pywin32==306 ; sys_platform == 'win32' and platform_python_implementation != 'PyPy'
pyyaml==6.0 ; python_version >= '3.6'
pyzmq==25.0.2 ; python_version >= '3.6'
requests==2.30.0 ; python_version >= '3.7'
semantic-version==2.10.0 ; python_version >= '2.7'
six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
sniffio==1.3.0 ; python_version >= '3.7'
stack-data==0.6.2
starlette==0.27.0 ; python_version >= '3.7'
termcolor==2.3.0 ; python_version >= '3.7'
toolz==0.12.0 ; python_version >= '3.5'
tornado==6.3.2 ; python_version >= '3.8'
tqdm==4.65.0
traitlets==5.9.0 ; python_version >= '3.7'
typing-extensions==4.5.0 ; python_version >= '3.7'
tzdata==2023.3 ; python_version >= '2'
uc-micro-py==1.0.2 ; python_version >= '3.7'
urllib3==2.0.2 ; python_version >= '3.7'
uvicorn==0.22.0 ; python_version >= '3.7'
wcwidth==0.2.6
websockets==11.0.3 ; python_version >= '3.7'
widgetsnbextension==4.0.7 ; python_version >= '3.7'
yarl==1.9.2 ; python_version >= '3.7'
torch 2.0.1+cu118
torchaudio 2.0.2+cu118
torchvision 0.15.2+cu118
from draggan.
are you running the colab.ipynb locally? you should use for local env
python gradio_app.py
from draggan.
are you running the colab.ipynb locally
yes
and executing this python gradio_app.py
in terminal (in the virtual environment), gives the same error
from draggan.
from draggan.
These are steps I did:
py -m venv venv
pip install pipenv
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 #my nvcc version relate to this torch version
pipenv install #another libs except torch and torchvision
Is there any mistake?
from draggan.
I have no idea what it causes too. I use conda personally, therefore I would recommend to use conda. For your python venv, could you try to install all requirements via
pip install -r requirements.txt
this is verified that works on remote google colab notebook.
from draggan.
I re-setup the repo locally and then install all libs with pip install -r requirements.txt
but here a new error
it seems like caused by torch version installed trough pip install
is not for cuda version (I assume).
But, I'll try to use conda then.
from draggan.
ok, btw, if you have a workable environment with torch installed correctly, I think you can simply use it directly and install the missing packages.
We have very loose requirements for the package versions, so that most of your existing packages could remain unchanged.
from draggan.
I got the same questions!
I guess it is because of the C++ version.
I download the latest Visual Studio and add the cl into the system pathway. But in other issues, they use VS2019 or sth instead.
So I am still confused with this error
from draggan.
I got the same questions! I guess it is because of the C++ version. I download the latest Visual Studio and add the cl into the system pathway. But in other issues, they use VS2019 or sth instead. So I am still confused with this error
@wanghdUT
Which environment did you use? python env or conda?
I try to re-setup the virtual env using conda and it works,
It seems like conda env handle all visual runtime, dlls, and compiler things
from draggan.
ok, btw, if you have a workable environment with torch installed correctly, I think you can simply use it directly and install the missing packages.
We have very loose requirements for the package versions, so that most of your existing packages could remain unchanged.
@Zeqiang-Lai
when we install torch instantly without specify which version, it'll install the latest version 2.x of torch and it doesn't support conv2d_gradfix. However the program will still running but not using gpu computation I guess.
from draggan.
Do you have a solution for the probelm"ImportError: DLL load failed while importing fused:"now?
from draggan.
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.