Open MNeMoNiCuZ opened 1 month ago
Could you guide me how to use this code? I'm completely lost. I'm on windows 10. I already cloned the joytag repository with "git clone". I downloaded the models to a folder "models/". I installed the requirements with "pip install -r requirements.txt"
I made a test.py code with your code, but
Now what? I tried running the test.py file in powershell with the command " .\test.py" but it doesn't work.
Could you guide me how to use this code? I'm completely lost. I'm on windows 10. I already cloned the joytag repository with "git clone". I downloaded the models to a folder "models/". I installed the requirements with "pip install -r requirements.txt"
I made a test.py code with your code, but
Now what? I tried running the test.py file in powershell with the command " .\test.py" but it doesn't work.
Hmm, that sounds exactly like what I'm doing.
I named mine inference.py
and I just run it with: py inference.py
from the folder.
Make sure you have activated your venv
that you installed it in.
Could you share any kind of output from powershell when you run it?
I don't know if I'm doing it right. I do a: .\venv\Scripts\activate Then on the folder: (venv) (base) PS J:\Aitools\Joytag\joytag> .\test.py
Then another window opens up sueper quick and closes. I'll post a screenshot:
I don't know. I've already tried to do a "pip install torch", or " pip install torch --use-pep517 --extra-index-url https://download.pytorch.org/whl/cu118"
still the same
I see.
Do you have CUDA installed on your machine?
Which version? 12.1 or 12.4?
After you have this information, go to: https://pytorch.org/
Select the right version on the Compute Platform
Run pip uninstall torch
in your venv. Make sure it says: (venv) (base) PS J:\Aitools\Joytag\joytag
so that your venv is activated.
Run the command given below for which version.
Then try again.
In case it's of interest: