DeepFaceLab_Linux icon indicating copy to clipboard operation
DeepFaceLab_Linux copied to clipboard

preview during training and interactive merger missing Linux

Open princessArthuria opened this issue 3 years ago • 10 comments

I'm using the linux implementation, just downloaded the repo yesterday. When I run training script I don't get a preview window of the training process (no I am not using the "no preview" version of the script). Also, this might be an issue with the machine I am running this on, but when I press enter the script doesn't quit training. Similarly, When I run the 7_merge_Quick96.sh script, I don't get the use interactive merger option. I checked online and there seems to be at least as of Jan 2022 someone who posted a video using Linux and where the preview during training and the interactive merger was an option.

Have these features been removed in an update or put somewhere else?

princessArthuria avatar Mar 27 '22 17:03 princessArthuria

[FIX by Dodo] If you run LINUX version of DFL, training started, but there is no training preview then edit: DeepFaceLab/core/interact/interact.py last lines of the file, change it to that: image_2022-07-02_002718447

zabique avatar Jul 01 '22 23:07 zabique

interact.zip

zabique avatar Jul 02 '22 00:07 zabique

Even though I tried change it, nothing changed.. And I got this error Traceback (most recent call last): File "./DeepFaceLab/main.py", line 6, in from core.leras import nn File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/leras/init.py", line 1, in from .nn import nn File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/leras/nn.py", line 26, in from core.interact import interact as io File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/interact/init.py", line 1, in from .interact import interact ImportError: cannot import name 'interact' from 'core.interact.interact' (/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/interact/interact.py)

Kwakyejin avatar Dec 12 '22 08:12 Kwakyejin

scrap that env and use this one

  1. conda create -n deepfacelab -c main python=3.7 cudnn=8.2.1 cudatoolkit=11.3.1
  2. conda activate deepfacelab
  3. Navigate to folder in which u want to install Deepfacelab
  4. git clone --depth 1 https://github.com/nagadit/DeepFaceLab_Linux.git
  5. cd DeepFaceLab_Linux 12. git clone --depth 1 https://github.com/MachineEditor/DeepFaceLab.git
  6. python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
  7. python -m pip install ffmpeg

zabique avatar Dec 12 '22 09:12 zabique

  • conda create -n deepfacelab -c main python=3.7 cudnn=8.2.1 cudatoolkit=11.3.1
  • conda activate deepfacelab
  • Navigate to folder in which u want to install Deepfacelab
  • git clone --depth 1 https://github.com/nagadit/DeepFaceLab_Linux.git
  • cd DeepFaceLab_Linux 12. git clone --depth 1 https://github.com/MachineEditor/DeepFaceLab.git
  • python -m pip install -r ./DeepFaceLab/requirements-cuda.txt
  • python -m pip install ffmpeg

I did it but same error came out...ㅠㅜ

Kwakyejin avatar Dec 12 '22 10:12 Kwakyejin

Traceback (most recent call last): File "./DeepFaceLab/main.py", line 6, in from core.leras import nn File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/leras/init.py", line 1, in from .nn import nn File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/leras/nn.py", line 26, in from core.interact import interact as io File "/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/interact/init.py", line 1, in from .interact import interact ImportError: cannot import name 'interact' from 'core.interact.interact' (/home/ng4812/DeepFaceLab_Linux/DeepFaceLab/core/interact/interact.py)

Kwakyejin avatar Dec 12 '22 10:12 Kwakyejin

strange, seems like you run old env or something. Machine Editor fork never gave me and problems.

zabique avatar Dec 12 '22 10:12 zabique

I was wondering that what you said above and file that you upload is different. What is correct? Because in file there is if ~~colab: interact = InteractColab() sth..

Kwakyejin avatar Dec 12 '22 10:12 Kwakyejin

with full MVE fork install, you don't have to do anything with that file. Preview should just work as is. File edit is for Vanilla DFL.

zabique avatar Dec 12 '22 10:12 zabique

Hang on, there is an MVE fork for linux? I thought this was just an iperov fork.... Ah just opening my eyes and see your links above - will try that, thanks!

@zabique I've been trying to get this running on 4090 here.

Your method above works, but doesn't detect my GPU. Do you know what the story is with a new GPU - do I need to run newer versions of the library, or does the driver take care of all of that?

I get the sense I need to compile my own, but not 100% sure yet.

Thanks for any help.

marshalleq avatar Jul 19 '23 09:07 marshalleq