Skip to content
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

Issue from setting up docker environment #8

Open
chensy0715 opened this issue Jan 9, 2024 · 3 comments
Open

Issue from setting up docker environment #8

chensy0715 opened this issue Jan 9, 2024 · 3 comments

Comments

@chensy0715
Copy link

Hi, I am working on replicating your model. However, I meet the issue in setting up the docker environment. The issue is "Fatal error: you must specify '--save', '--no-save' or '--vanilla'" After I set up the image and run the image.

Could you please provide the guidelines on how to set up the docker environment for me?

@limjcst
Copy link
Collaborator

limjcst commented Jan 10, 2024

It seems that those 3 options are for R.

As CIRCA is not designed to be a web service, I did not specify what a Docker container should do.
Please try to append the following two instructions into your Dockerfile.

COPY circa/ circa/
CMD ["python3", "-m", "circa.experiment", "-h"]

Notice that a Docker container may still stop immediately with this patch.
Suppose that the tag of the built image is circa:latest. Execute sudo docker run -it circa:latest bash to do what you want inside the created container.

@chensy0715
Copy link
Author

Could you please tell me where I should put these two lines into dockerfile? Also, Could you provide a complete new Dockfile for me? Many thanks!

@limjcst
Copy link
Collaborator

limjcst commented Jan 11, 2024

How did you run the image? Could you please provide the executed command?

Do you already have a plan to replicate the model? Could you please provide several commands you want to execute?

I guess your issue is related to Docker, not CIRCA.

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