CIRCA icon indicating copy to clipboard operation
CIRCA copied to clipboard

Issue from setting up docker environment

Open chensy0715 opened this issue 2 years ago • 3 comments

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?

chensy0715 avatar Jan 09 '24 22:01 chensy0715

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.

limjcst avatar Jan 10 '24 11:01 limjcst

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!

chensy0715 avatar Jan 10 '24 15:01 chensy0715

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.

limjcst avatar Jan 11 '24 01:01 limjcst