Went through the installation process without a problem. Try to test the first swap from demo directory to see how it works and got this message.
./checkpoints\people\latest_net_G.pth not exists yet!
Traceback (most recent call last):
File "test_video_swapsingle.py", line 40, in
model = create_model(opt)
File "C:\SimSwap-main\models\models.py", line 18, in create_model
model.initialize(opt)
File "C:\SimSwap-main\models\fs_model.py", line 71, in initialize
self.load_network(self.netG, 'G', opt.which_epoch, pretrained_path)
File "C:\SimSwap-main\models\base_model.py", line 58, in load_network
raise('Generator must exist!')
TypeError: exceptions must derive from BaseException
I have latest_net_G.pth in proper directory. Did I miss a step in installation?
Went through the installation process without a problem. Try to test the first swap from demo directory to see how it works and got this message.
./checkpoints\people\latest_net_G.pth not exists yet!
Traceback (most recent call last):
File "test_video_swapsingle.py", line 40, in <module>
model = create_model(opt)
File "C:\SimSwap-main\models\models.py", line 18, in create_model
model.initialize(opt)
File "C:\SimSwap-main\models\fs_model.py", line 71, in initialize
self.load_network(self.netG, 'G', opt.which_epoch, pretrained_path)
File "C:\SimSwap-main\models\base_model.py", line 58, in load_network
raise('Generator must exist!')
TypeError: exceptions must derive from BaseException
I have latest_net_G.pth in proper directory. Did I miss a step in installation?
Hey, even I was facing the same issue. I had extracted the checkpoints.zip directly into the root dir. You should first create a folder called checkpoints in the root dir and then extract into that.
Root ---> Checkpoints --> People
This solved it for me
Hey, even I was facing the same issue. I had extracted the checkpoints.zip directly into the root dir. You should first create a folder called checkpoints in the root dir and then extract into that.
Root ---> Checkpoints --> People
This solved it for me
There is such an error when running the code:“No such file or directory: 'models/BEST_checkpoint.tar'”,I did not find this file anywhere in the code!!!
There is such an error when running the code:“No such file or directory: 'models/BEST_checkpoint.tar'”,I did not find this file anywhere in the code!!!

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Went through the installation process without a problem. Try to test the first swap from demo directory to see how it works and got this message.
./checkpoints\people\latest_net_G.pth not exists yet!
Traceback (most recent call last):
File "test_video_swapsingle.py", line 40, in
model = create_model(opt)
File "C:\SimSwap-main\models\models.py", line 18, in create_model
model.initialize(opt)
File "C:\SimSwap-main\models\fs_model.py", line 71, in initialize
self.load_network(self.netG, 'G', opt.which_epoch, pretrained_path)
File "C:\SimSwap-main\models\base_model.py", line 58, in load_network
raise('Generator must exist!')
TypeError: exceptions must derive from BaseException
I have latest_net_G.pth in proper directory. Did I miss a step in installation?
Hey, even I was facing the same issue. I had extracted the checkpoints.zip directly into the root dir. You should first create a folder called checkpoints in the root dir and then extract into that.
Root ---> Checkpoints --> People
This solved it for me
@swastikdeeplearning Solution worked for me as well. Thanks.
There is such an error when running the code:“No such file or directory: 'models/BEST_checkpoint.tar'”,I did not find this file anywhere in the code!!!
