Crashes after update, tried new install

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
dheinz70
Posts: 43
Joined: Sat Aug 15, 2020 2:43 am
Has thanked: 4 times

Crashes after update, tried new install

Post by dheinz70 »

I hit "update faceswap" today and when I tried to restart it squawked about needing tensorflow 2, closed the terminal.

I'm using Ubuntu 20, been using faceswap for a few months.

I deleted the "faceswap" directory, tried to reinstall. Now I get this error using the install script.

LinuxBox:~/Faceswap_main$ bash ./faceswap_setup_x64.sh
./faceswap_setup_x64.sh: line 2: $'\r': command not found
./faceswap_setup_x64.sh: line 6: $'\r': command not found
./faceswap_setup_x64.sh: line 15: $'\r': command not found
./faceswap_setup_x64.sh: line 18: $'\r': command not found
./faceswap_setup_x64.sh: line 20: $'\r': command not found
./faceswap_setup_x64.sh: line 21: syntax error near unexpected token $'{\r''
'/faceswap_setup_x64.sh: line 21:
header() {

Any Ideas?

User avatar
torzdf
Posts: 2682
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 133 times
Been thanked: 626 times

Re: Crashes after update, tried new install

Post by torzdf »

Windows likes nothing more than screwing up line endings :/

I have re-uploaded this file from a Linux box, and tested. It should work now if you grab it again.

My word is final

User avatar
dheinz70
Posts: 43
Joined: Sat Aug 15, 2020 2:43 am
Has thanked: 4 times

Re: Crashes after update, tried new install

Post by dheinz70 »

Worked, thanks.

Locked