Face-Image-Motion-Model
Face-Image-Motion-Model copied to clipboard
python3: can't open file 'align_images.py, what's the problem with this project?
i encounter a error in this project like this:
python3: can't open file 'align_images.py': [Errno 2] No such file or directory
seems it can't prepare photo successfully,if i ignoring that error,then next step will always report a error like this:
FileNotFoundError: No such file: '/content/first_order_model/aligned_images/photo-0.png'
even i put photo in that folder,it still pop a error like this:
UnpicklingError Traceback (most recent call last)
<ipython-input-18-05d6884bba1f> in <module>()
43
44 generator, kp_detector = load_checkpoints(config_path='config/vox-256.yaml',
---> 45 checkpoint_path='vox-cpk.pth.tar')
46
47 #clear_output()
2 frames
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
690 f.seek(0)
691
--> 692 magic_number = pickle_module.load(f, **pickle_load_args)
693 if magic_number != MAGIC_NUMBER:
694 raise RuntimeError("Invalid magic number; corrupt file?")
UnpicklingError: pickle data was truncated
so it's environment problem? how to slove that?
btw, these code runing successfylly just two days ago,just today,it broken
Hi I'm having the exact same problem as @Iteravse
Initially, I ran into an issue here but it seems like it may be better to use this repo instead.
Running the examples provided For example, you can use this available materials: https://drive.google.com/drive/folders/1kZ1gCnpfU0BnpdU47pLM_TQ6RypDDqgw
in Collab notebook resulted in that error (I loaded 00.mp4 and 01.png)
I've saved a copy of the notebook here with the error.
fixed https://github.com/tg-bomze/Face-Image-Motion-Model/issues/14