Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
tsilver-bdai committed Jul 21, 2023
1 parent 3f98842 commit 0cea2e6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/supercloud/submit_supercloud_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ def submit_supercloud_job(entry_point: str,
python setup.py install --user
python -c "import mujoco_py"
# Move code to this folder and mujoco-py into code
rsync -av ~/predicators /state/partition1/user/$USER/ \
--exclude predicators/logs
cp -r mujoco_py ../predicators/
# Change directory to predicators
cd ~/predicators
cd ../predicators
# Run the code
"""
mujoco_final_str = """
# Copy this directory back to where it started
cd ../
rsync -av predicators ~/ --exclude mujoco_py
# Remove temporary folder
rm -rf /state/partition1/user/$USER
"""
Expand Down

0 comments on commit 0cea2e6

Please sign in to comment.