Open c1a1o1 opened 6 years ago
This project is written in python 2.7 and I notice you are using python 3. I am not sure whether this caused the problem but it should be running fine in python 2.7 with PyTorch 0.2 environment. Sorry that I did not add this to the requirements before.
For me , the code is running fine in python 2.7 with pytorch 0.4 environment.
E:\Users\Raytine\Anaconda3\python.exe F:/future/Talking-Face-Generation-DAVS-master/ptest_all.py --test_root './shuju/audio' --test_type 'audio' --test_audio_video_length 99 --test_resume_path CHECKPOINT_PATH Traceback (most recent call last): File "F:/future/Talking-Face-Generation-DAVS-master/ptest_all.py", line 11, in
import Test_Gen_Models.Test_Video_Model as Gen_Model
File "F:\future\Talking-Face-Generation-DAVS-master\Test_Gen_Models\Test_Video_Model.py", line 12, in
import network.IdentityEncoder as IdentityEncoder
File "F:\future\Talking-Face-Generation-DAVS-master\network\IdentityEncoder.py", line 46
self.add_module('block' + str(01), BasicBlock(3, 32, name="01", conv_std=0.025253814, kernel_size=7, stride=2, padding=3))
^
SyntaxError: invalid token