faceswap icon indicating copy to clipboard operation
faceswap copied to clipboard

TypeError: unsupported operand type(s) for -: 'windowpath' and 'str'

Open ruah1984 opened this issue 8 years ago • 11 comments

Error as title found when running --trainer GAN with -p preview window.

Expected behavior

*it should continue run after the first epoch

Actual behavior

*it run the first epoch and stop with this error message after the first preview window comes out

Steps to reproduce

*python faraway.py train --trainer GAN -p

Other relevant information

  • Operating system and version: Windows,
  • Python version: 3.6.4
  • Faceswap version: latest one
  • Faceswap method: CPU
  • ...

ruah1984 avatar Feb 10 '18 08:02 ruah1984

Not sure is GAN training not include the preview window ?

ruah1984 avatar Feb 10 '18 09:02 ruah1984

@ruah1984 gan include preview

iperov avatar Feb 10 '18 09:02 iperov

what is faraway.py ?

iperov avatar Feb 10 '18 09:02 iperov

Sorry , is faceswap.py, the auto correction in iphone suck . Do you know the error message ?

ruah1984 avatar Feb 10 '18 09:02 ruah1984

post full error message with call stack

iperov avatar Feb 10 '18 09:02 iperov

How to post extract full error message ? It only show the error message as title only ?

ruah1984 avatar Feb 10 '18 12:02 ruah1984

u launch it from .bat file ? then add pause and copy error message.

iperov avatar Feb 10 '18 14:02 iperov

No fakeapps .bat file, is from the repo. I now checking if normal training or low memory training will having the same issue or not.

ruah1984 avatar Feb 10 '18 18:02 ruah1984

check my end-user windows build 155 https://github.com/deepfakes/faceswap-playground/issues/39

iperov avatar Feb 10 '18 19:02 iperov

Thanks, I am New for python, but I hope to know if the issue is related to "str", and what does it mean, any other found the same issue. The link you share is application is it?

ruah1984 avatar Feb 11 '18 09:02 ruah1984

solve, after update using the latest repo.

ruah1984 avatar Feb 12 '18 15:02 ruah1984