facebookresearch / AnimatedDrawings

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

When docker build, stuck on Connecting to objects.githubusercontent.com (objects.githubusercontent => => # .com)|::ffff:185.199.109.133|:443... #270

Closed Jll0716 closed 7 months ago

Jll0716 commented 7 months ago

Connecting to objects.githubusercontent.com (objects.githubusercontent => => # .com)|::ffff:185.199.109.133|:443... failed: Connection refused. I guess it's because i use the VPN? how can i solve it.

Jll0716 commented 7 months ago

I wondered that maybe i can directly download the two .mar in my /home/torchserve/model-store. And delete the "RUN mkdir -p /home/torchserve/model-store RUN wget https://github.com/facebookresearch/AnimatedDrawings/releases/download/v0.0.1/drawn_humanoid_detector.mar -P /home/torchserve/model-store/ RUN wget https://github.com/facebookresearch/AnimatedDrawings/releases/download/v0.0.1/drawn_humanoid_pose_estimator.mar -P /home/torchserve/model-store/" in dockerfile. But the new problem is when i start docker-torchserve,it's shows --model-store directory not found: /home/torchserve/model-store

Jll0716 commented 7 months ago

It's settled by changing the dockerfile as: RUN mkdir -p /home/torchserve/model-store COPY model-store /home/torchserve/model-store COPY config.properties /home/torchserve/config.properties