sensity-ai / dot

The Deepfake Offensive Toolkit
BSD 3-Clause "New" or "Revised" License
4.06k stars 396 forks source link

Create Conda Environment #163

Open richerkay opened 1 month ago

richerkay commented 1 month ago

:question: Ask a Question:

could not create and env getting errors maybe im doing something wrong someone plss help.

Description:

(base) C:\Users\Lenovo>conda env create -f envs/environment-gpu.yaml EnvironmentFileNotFound: 'C:\Users\Lenovo\envs\environment-gpu.yaml' file not found

Ghassen-Chaabouni commented 1 month ago

@richerkay Before running the commands, you need to cd into the dot repo

richerkay commented 1 month ago

@richerkay Before running the commands, you need to cd into the dot repo

Thanks but am new to all this, where can i locate the dot repo?

Ghassen-Chaabouni commented 1 month ago

@richerkay Before running the commands, you need to cd into the dot repo

Thanks but am new to all this, where can i locate the dot repo?

First clone the repo

git clone https://github.com/sensity-ai/dot.git

Then cd <path/to/the/cloned/dot/repo.

An easier option to use dot, is to download and run the executable from here. Choose the one that corresponds to your OS.

richerkay commented 1 month ago

@richerkay Before running the commands, you need to cd into the dot repo

Thanks but am new to all this, where can i locate the dot repo?

First clone the repo

git clone https://github.com/sensity-ai/dot.git

Then cd <path/to/the/cloned/dot/repo.

An easier option to use dot, is to download and run the executable from here. Choose the one that corresponds to your OS.

still cant get it right, i download dot for windows and extract getting errors please help.

(base) C:\Users\Lenovo>cd C:\dot

(base) C:\dot>dot --help INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Usage: dot [OPTIONS]

Run the dot UI.

Options: --help Show this message and exit.

(base) C:\dot>dot -c ./configs/simswap.yaml --target 0 --source "./data" --use_gpu INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Error in sys.excepthook:

Original exception was: Error in sys.excepthook:

Original exception was:

(base) C:\dot>

Ghassen-Chaabouni commented 1 month ago

If you are using the executable, you dont need to call dot from the CLI. Just double click on dot.exe if you are on windows

richerkay commented 1 month ago

If you are using the executable, you dont need to call dot from the CLI. Just double click on dot.exe if you are on windows

Ooh, great it work i was thinking i have to use the CLI, but one more issue it says ERROR: No face detected! THANKS SO MUCH FOR HELPING.

INFO: Created TensorFlow Lite XNNPACK delegate for CPU. === Control keys === 1-9: Change avatar 1: C:/Users/Lenovo/Pictures/vlcsnap-2024-07-15-08h45m38s413.png ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected! ERROR: No face detected!

Ghassen-Chaabouni commented 1 month ago

Your face needs to be visible to the camera. Also, make sure that you are using the correct camera id. The default value is 0. You may need to change it if you have multiple cameras or vcam softwares installed