facebookresearch / AnimatedDrawings

Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
MIT License
10.62k stars 934 forks source link

torchserve docker build fail #266

Closed adrianhsm closed 8 months ago

adrianhsm commented 10 months ago
  1. not torch version is specified, in my case, it is download pytorch 2.1.0, which seems not compatible with mmcv 1.7.0
  2. Change mmcv to 1.7.2 may lead the success of the building, but fail during runnig
  3. Change torch to 1.13.1 may lead to the error of "distribution not found"
  4. Set torch to 2.0.0 seems ok in building and "python image_to_animation.py drawings/garlic.png garlic_out" works fine
javier-pkg-mda commented 9 months ago

Had same error, fixed by pinning torchserve to this version: torch==2.0.1

hjessmith commented 8 months ago

Merged PR #275, which addressed docker build fail