Will the test code be updated to properly work with own 512 and 224 pretrained models? #261
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I find:
1、in train.py and test_wholeimage_swapsingle.py, the initial network was not the same...
in train.py:
and in test_wholeimage_swapsingle.py:
in general, the Generator_Adain_Upsample is diffenent between train.py and test_wholeimage_swapsingle.py.
2、so, after train, in your own pretrained_weight, you need initial network like train.py instead of test_wholeimage_swapsingle.py.
The preprocess and the postprocess part for own trained model are different the inference demo code, and you have to update the demo code according to train.py
Thank you very much! I tried to make changes but got errors. But still, the fact that at least someone managed to run the test code pleases me. Otherwise, what is the point of training if it is impossible to fully run the test code with own model? Just because it's been asked for so long? Let's wait and hope that the developer will fix the test code and give us the opportunity to run all test code with old models and with our own pretrained models as it should be.
Can you provide full working with own pretrained 512 model example of
test_wholeimage_swapsingle.pyor manual on what and where to change or add?so glad, can you provide your email? or another way?
netrunner.exe@gmail.com @boreas-l
That would be great, looking forward to it!
According to what is said here, how should we modify the arguments to make an inference on our own pretrained models ?
Hah, in usage doesn't writed anything about how to use own pretrained models. Currently, the test code is incompatible with published training code and own pretrained models...Do not waste your time and resources - there is no point in training, since you will not be able to use your model in any way:) Therefore, we are waiting for the announced SimSwap ++, maybe we will have more luck with it :)