Hello,
I am currently encountering several issues when working with Docker:
1. It is possible for me to submit the dm-python-example that was posted online in syn4224222 to the challenge, however when cloning the docker example to a new project the submit-process fails after some time with the following error message:
{"message":"unauthorized: authentication required"}
2. I do not seem to be able to cancel the running processes in the wiki. The status does not change from "Cancel Stop Request" to being actually stopped (waited for more than a day).
3. When I submit the dm-tensorflow-example (syn4224222) to the challenge the process gets terminated after a few minutes with the error message:
"Error encountered during training."
The log-file reads "..tensorflow.python.framework.errors.ResourceExhaustedError: OOM when allocating tensor with shape[100,112,112,64]"
Any help would be greatly appreciated.
Thank you in advance.
Best,
David
Created by David Dillmann DDillmann David: Regarding (3), the tensorflow example has been updated by the author on 9/24. https://www.synapse.org/#!Synapse:syn7247176 Will you please try again? Hi Chao:
To push your Docker image to Synapse you must push it to a project you or a colleague owns, not to the Challenge project (which is syn4224222, see https://www.synapse.org/#!Synapse:syn4224222/). You indicate your own project at the time you give your Docker image its name, either with the `docker build` or `docker tag` command. So for example, if your Synapse project is syn12345, then
```
docker build -t docker.synapse.org/syn12345/dm-tensorflow-example .
```
Then when you push...
```
docker push docker.synapse.org/syn12345/dm-tensorflow-example
```
... the image will go to project syn12345. You can also give it a distinctive name,
```
docker build -t docker.synapse.org/syn12345/team-huang-model .
docker push docker.synapse.org/syn12345/team-huang-model
```
Docker allows you to pull, rename and push without building:
```
# first get the public example:
docker pull docker.synapse.org/syn4224222/dm-tensorflow-example
# give it a different name
docker tag docker.synapse.org/syn4224222/dm-tensorflow-example docker.synapse.org/syn12345/team-huang-model
# push a copy to your own project
docker push docker.synapse.org/syn12345/team-huang-model
```
Hope this helps!
Hi Bruce,
I just copied my command line. Please see the one below
Chaos-MacBook-Pro:DREAM_DM_starter_code chaohuang$ docker push docker.synapse.org/syn4224222/dm-tensorflow-example
The push refers to a repository [docker.synapse.org/syn4224222/dm-tensorflow-example]
b7d4957fde65: Preparing
b4c27a861620: Preparing
cc40dfcf7755: Preparing
c3700839ffe9: Preparing
c3700839ffe9: Layer already exists
add98c29ac91: Layer already exists
769afb849c2a: Layer already exists
04a17d27dccb: Waiting
36feec015804: Waiting
27e1a36aac6a: Waiting
f9c689a246ee: Waiting
1d658f12af5c: Waiting
a09bca38e3c1: Waiting
0cceb8545127: Waiting
6cfd8b2e0412: Waiting
d3e7af776f64: Waiting
016dcd399845: Waiting
3f6d94182a7e: Waiting
150796dff220: Waiting
c52126706800: Waiting
9bf98824b3b2: Waiting
fd28e147cf35: Waiting
a2c8ac350788: Waiting
5f70bf18a086: Waiting
6f8be37bd578: Waiting
9f7ab087e6e6: Waiting
dc109d4b4ccf: Waiting
a7e1c363defb: Waiting
unauthorized: authentication required Chao: I've had four different people here try to run the 'docker login' and 'docker pull' command. All were able to do it successfully. To dig deeper I need some more information about your experience. Would you please copy/paste the command-line session, showing what you type and what the response is. Please take care not to copy any passwords. Thank you. I have the same issue here.
I can get successful response from docker login docker.synapse.org. But I fails in docker pull docker.synapse.org/syn4224222/dm-python-example. It says that unauthorized: authentication required. Actually, I have already got certified. Is there anything I am doing wrong?
Thanks!
Best,
Chao
It was my mistake.
I needed to get certified and upload to my own project. Bruce:
I still have the authentication problem.
The image:
```
REPOSITORY TAG
docker.synapse.org/syn4224222/test-0 latest
```
When I run:
```
docker push docker.synapse.org/syn4224222/test-0
```
the response is `unauthorized: authentication required`
Btw, I got a successful response from `docker login docker.synapse.org`.
Am I doing something wrong?
Thank you. David and Wentao: We have addressed the 'unauthorized' error. Please feel free to submit again. Any further questions, please ask. David:
Thanks for these questions.
1) There seems to be a bug. We are investigating now.
2) I'm not sure about this but I think your process terminated and simply did not update the 'stop button.' We will try to learn more.
3) The author of the tensorflow example says he discovered a bug and will update the example.
We are hopeful that these are all small problems and will report back with corrections soon.
Thank you. Hi,
I have not used the docker before. I also encountered the same issue as 1 {"message":"unauthorized: authentication required"}.
I have tried http://stackoverflow.com/questions/36663742/docker-unauthorized-authentication-required-upon-push-with-successful-login . But did not solve the problem.
Thanks,
Wentao