sensity-ai / dot

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

Low FPS with 3070M #134

Open Ganesh2556 opened 7 months ago

Ganesh2556 commented 7 months ago

I am having trouble getting the DOT to run on my laptop.

When I run SIMSWAP, it gives an FPS of 4.7. This is much lower than in tests on an AMD Ryzen 5 2600 Six-Core Processor with one NVIDIA GeForce RTX 2070. In the WIN10 resource monitor, the DOT is only using 30% of the GPU memory.

My laptop configuration is RYZEN 9, RTX 3070M, WIN10.

Could it be that I'm doing something wrong?

Ghassen-Chaabouni commented 6 months ago

Are you using GPEN with SimSwap? If so, what GPEN are you using 256 or 512 Also, are you using SimSwap or SimSwapHQ? To get the fastest results, use only SimSwap with the option use_gpu

Ganesh2556 commented 6 months ago

Are you using GPEN with SimSwap? If so, what GPEN are you using 256 or 512 Also, are you using SimSwap or SimSwapHQ? To get the fastest results, use only SimSwap with the option use_gpu

I use only SimSwap with the option use_gpu

Ghassen-Chaabouni commented 6 months ago

@Ganesh2556 Are you using the default images in the data folder or a custom ones? The speed was measured on these images

Ganesh2556 commented 6 months ago

@Ganesh2556 Are you using the default images in the data folder or a custom ones? The speed was measured on these images

I tried to do this with both default and custom images. I tried to compress the image resolution. Nothing helped.

Ghassen-Chaabouni commented 6 months ago

You mentioned that dot is using 30% of the GPU memory. This means that it's correctly using the GPU. We intentionally made it use low memory so that more users are able to use it. On RTX 3060, I'm getting more than 10fps with SimSwap. Are you using DOT alone without any other softwares/emulators? They can lower the fps.

OnlyStopOnTop commented 4 months ago

Same for me, using rtx 3070 mobile and have about 4-6 fps.

Only DOT and browser is running on the system - nothing else

Ghassen-Chaabouni commented 3 months ago

@OnlyStopOnTop you can confirm if the GPU is being used by running nvidia-smi. If no memory is allocated to dot then you are using CPU