-
Notifications
You must be signed in to change notification settings - Fork 5
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
Docker method cannot work #3
Comments
Hi TONGLoki, The issues I faced are:
For resolving error 1 and error 4:Error 4 is related to ambf installation the error can be resolved by using from utilities_withoutpykdl import * which is present in fetal-rl branch. and change the version of
For resolving error 2:press For resolving the error 3:uninstall gym and reinstall gym==0.15.7 i.e.
For resolving the Issue 5:To see if there are any more errors, open the main.py file and go to each bash file and run the commands in different terminals and you can resolve them i.e. Terminal 1:
Terminal 2:
Terminal 3:
Terminal 4:
Terminal 5:
You can open a browser and type |
Hi, Vignesh!
I have the problem of the 'Test the installation by running the example DDPG or HER+DDPG algorithms to train the dVRK PSM to reach a point.'
And I cannot run this code. Always have two problems when it was installed, so I have changed a little bit code in 'devel-training-gpu.Dockerfile'.
'docker build --rm -f "dockerfiles/devel-training-gpu.Dockerfile" -t ambf_rl:devel-training-gpu "."'
After I changed the code, it can be installed but I cannot run ' main.py'.
Here is the code:
root@b577e06569fb:~/ambf_rl/scripts/dVRK# python main.py
Previous .logs dir exists, deleting it...
Creating new .logs dir...
Running 6 processes: ('roscore', 'launch_ambf', 'psmIK_service', 'training', 'tensorboard_launch', 'print_output')
Running process: roscore
Running process: launch_ambf
Running process: psmIK_service
Running process: training
Running process: tensorboard_launch
Running process: print_output
And there is no error and no answer. And i have checked the '.logs' file in the same container. Nothing ran when ran the main.py.
root@b577e06569fb:
/ambf_rl/scripts/dVRK# cd .logs/ambf_rl/scripts/dVRK/.logs# lsroot@b577e06569fb:
launch_ambf.txt roscore.txt training_err.txt
psmIK_service.txt tensorboard_launch.txt training_out.txt
root@b577e06569fb:
/ambf_rl/scripts/dVRK/.logs# tail launch_ambf.txt/ambf_rl/scripts/dVRK/.logs#./launch_ambf.bash: line 6: pushd: /home/admin/ambf/bin/lin-x86_64/: No such file or directory
./launch_ambf.bash: line 7: ./ambf_simulator: No such file or directory
./launch_ambf.bash: line 8: popd: directory stack empty
root@b577e06569fb:
And then i tried for the method 'Install dependencies'. I got the same problem. Nothing ran in the .logs file. According to the error of not finding the path, I changed the paths one by one, it still can't run.
I am using Ubuntu 18.04 and ros melodic-----all failed. I don't get 'An instance of AMBF will spawn and training should begin.'
By the way, I also tried to use Ubuntu 20.04 and ros noetic. Same problems.
And the 'venv' also cannot ran the main.py.
The text was updated successfully, but these errors were encountered: