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
Execution in docker image issue vgg16_bn.py #57
Comments
I can confirm that this work on Docker |
Do you mind sharing your Dockerfile setup for this? |
@loopedice. Sure, it's extremely simple: FROM python:3.6.8
RUN apt-get -y update
RUN apt-get install -y --fix-missing \
wget \
nano \
htop \
tmux \
unzip \
zip \
&& apt-get clean && rm -rf /tmp/* /var/tmp/*
COPY . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python server.py |
@lamhoangtung Thanks for that. It still seems to be failing. I will try again later tonight on my windows machine with docker, and see if that doesn't produce a crash like my mac. |
Both Mac and linux works fine for me :P |
It's so strange 😬 Maybe my docker config has limited resources? Edit: So with the fork here that includes @lamhoangtung Dockerfile https://github.com/loopedice/CRAFT-pytorch it is still crashing in mac docker+ windows docker setups :( |
Resolved my issue. Problem was that I was using torch 0.4.1 and not 0.4.1.post2. So I just went to 1.0.0 due to errors in pip not finding 0.4.1.post2 |
Hey, so I got this working on my mac pretty easily. However I just can't seem to get it to work on a docker image.
It seems to crash when executing this line https://github.com/clovaai/CRAFT-pytorch/blob/master/basenet/vgg16_bn.py#L61
Tried to debug through, but don't really have any experience with pdb so got nowhere there. I suspect my Dockerfile isn't setup right. Did anyone manage to get this working or have similar issues? My dockerfile is below.
The text was updated successfully, but these errors were encountered: