Open Undertone0809 opened 2 years ago
Hi @Undertone0809. Great that you got it partially working, but did you try building the docker image locally, i.e. ./build.cmd
?
Think it worked most of the way with what you did, but obviously not the movie generation.
The run.cmd script is attempting to run a Docker container with the image openworm/openworm:0.9.3. Since this image is not found, it should be updated to use the latest version of the openworm image. We can modify the run.cmd to use the latest image instead of 0.9.3.
We can update the script to use openworm/openworm:latest and then suggest running the ./build.cmd to build the Docker image locally.
@echo off setlocal
set OW_OUT_DIR=/home/ow/shared set HOST_OUT_DIR=%~dp0
:GETOPTS if /i "%1" == "-d" set DURATION=%2 & shift shift if not "%1" == "" goto GETOPTS
if not defined DURATION set DURATION=15
echo on
docker run -d ^ --name openworm ^ -e OW_OUT_DIR=%OW_OUT_DIR% ^ -e DURATION=%DURATION% ^ --privileged ^ -v %HOST_OUT_DIR%:%OW_OUT_DIR%:rw ^ openworm/openworm:latest ^ /bin/bash -c "python master_openworm.py"
docker logs -f openworm
@echo off endlocal
Perhaps try it with this?
Update your run.cmd and build.cmd files with the changes above. Run ./build.cmd to build the Docker image locally. Run ./run.cmd to start the Docker container with the latest image.
If this issue is intended to be a bug report, please fill out the following:
Expected behavior Run
./run.cmd
and it can get data normally. Actual behavior Actually, I can not run normally by window. First of all, I run./run.cmd
but it prints the following information.I search the version from docker hub and didn't find v0.9.3 but just the latest version . I change
run.cmd
file to latest. As the following you can see the only change.After that, run
./run.cmd
. It works normally. But the data may get wrong. I open the video but all I can see is just black. I retry but get the same result. I am appreciate it if you can solve my problem.C2_FW_2022-11-16_09-29-38.zip
My current code version is at #328 and my docker info is as follows.