Skip to content

docker-compose error #39

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

Open
theprodev opened this issue Aug 31, 2018 · 3 comments
Open

docker-compose error #39

theprodev opened this issue Aug 31, 2018 · 3 comments

Comments

@theprodev
Copy link

I am getting this error. Can you please help?

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

@knjcode
Copy link
Owner

knjcode commented Sep 1, 2018

Do you use mxnet-finetuner in GPU environment?
In that case, you need 1.16.0 or higher version of docker-compose.

In GPU environment, the version of the automatically generated docker-compose.yml file is 2.3.
In this version, version of docker-compose needs 1.16.0 or more.
https://docs.docker.com/compose/compose-file/compose-versioning/#version-23

@theprodev
Copy link
Author

Thanks for the reply. I tried it on a different machine and it worked. No GPU.
By the way, if I have a very small dataset of 4 images in each class and 8 classes what should be the best batch size? no. of epochs? and data_aug_level?

Is using transparent png images can improve prediction?

@knjcode
Copy link
Owner

knjcode commented Oct 15, 2018

Sorry for my late reply.

I think that the number of images used for learning is quite small, so it is recommended to add images first.

And I do not know if prediction will improve using transparent PNG images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants