Page 1 of 1

Bug in latest version?

Posted: Tue Nov 09, 2021 2:11 pm
by alexbloch8

I've just updated to the latest version in windows from the gui (help -> update faceswap)
I'm trying to run the training script but I'm getting

Code: Select all

Traceback (most recent call last):
  File "C:\Users\Wuser\MiniConda3\envs\faceswap\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "C:\Users\Wuser\MiniConda3\envs\faceswap\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Wuser\faceswap\lib\gui\wrapper.py", line 214, in read_stdout
    Session.initialize_session(
  File "C:\Users\Wuser\faceswap\lib\gui\analysis\stats.py", line 127, in initialize_session
    self._load_state_file()
  File "C:\Users\Wuser\faceswap\lib\gui\analysis\stats.py", line 92, in _load_state_file
    self._state = serializer.load(state_file)
  File "C:\Users\Wuser\faceswap\lib\serializer.py", line 113, in load
    raise FaceswapError(msg) from err
lib.utils.FaceswapError: Error reading from 'F:/DeepFake/SC/ModelMaster\dfl_sae_state.json': No such file or directory

after that the green ui on the bottom right just keep moving back and forth and it seems there is no proper handle to the error.
I've checked the model folder and the dfl_sae_state.json was generated but I'm guessing the issue is with the back slashes for the path
does this happen to anyone else?
Thanks!


Re: Bug in latest version?

Posted: Wed Nov 10, 2021 11:37 am
by torzdf

There is a bug in DFL-SAE which makes loading/freezing weights not work (see here: viewtopic.php?f=6&t=1803) I pushed a fix yesterday, which seems to have caused the issues you had. I have reverted this commit which means you should now be able to continue training. I will need to find another way to fix the original bug :/

If you update, it should work.


Re: Bug in latest version?

Posted: Wed Nov 10, 2021 3:35 pm
by alexbloch8

Many many thanks!!!! :D