facebookresearch/AnimatedDrawings

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

Jll0716 opened this issue · 2 comments

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.

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

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