Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on image_to_animation.py #250

Closed
javier-pkg-mda opened this issue Nov 16, 2023 · 0 comments
Closed

Error on image_to_animation.py #250

javier-pkg-mda opened this issue Nov 16, 2023 · 0 comments

Comments

@javier-pkg-mda
Copy link

$ python image_to_animation.py drawings/javi1.png javi

Traceback (most recent call last): File "image_to_animation.py", line 41, in <module> image_to_animation(img_fn, char_anno_dir, motion_cfg_fn, retarget_cfg_fn) File "image_to_animation.py", line 22, in image_to_animation annotations_to_animation(char_anno_dir, motion_cfg_fn, retarget_cfg_fn) File "/home/javi/Projects/AnimatedDrawings/examples/annotations_to_animation.py", line 40, in annotations_to_animation animated_drawings.render.start(output_mvc_cfn_fn) File "/home/javi/.virtualenvs/animated_drawingg/lib/python3.8/site-packages/animated_drawings-0.0.0-py3.8.egg/animated_drawings/render.py", line 13, in start File "/home/javi/.virtualenvs/animated_drawingg/lib/python3.8/site-packages/animated_drawings-0.0.0-py3.8.egg/animated_drawings/config.py", line 19, in __init__ File "/home/javi/.virtualenvs/animated_drawingg/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1213, in resource_filename return get_provider(package_or_requirement).get_resource_filename( File "/home/javi/.virtualenvs/animated_drawingg/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1855, in get_resource_filename return self._extract_resource(manager, zip_path) File "/home/javi/.virtualenvs/animated_drawingg/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1874, in _extract_resource timestamp, size = self._get_date_and_size(self.zipinfo[zip_path]) KeyError: 'animated_drawings/mvc_base_cfg.yaml'

Python: 3.8.10
Ubuntu 20.04.6 LTS

Had to pin a version in Dockerfile torchserve otherwise build wasn't working ( RUN pip install torch==2.0.0 )

Even though there is an error it manages to create most of files at javi/ :
bounding_box.yaml char_cfg.yaml image.png joint_overlay.png mask.png mvc_cfg.yaml texture.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant