Skip to content

Commit

Permalink
example cloud launcher for shapenet (verified)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiya committed Aug 16, 2023
1 parent e291953 commit bb53435
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ examples/keyframing: checkmakeversion
# --- one-liners for executing challenges
challenges/complex_brdf: checkmakeversion
docker run --rm --interactive --user `id -u`:`id -g` --volume `pwd`:/workspace --env SHAPENET_GCP_BUCKET=$${SHAPENET_GCP_BUCKET} kubricdockerhub/kubruntudev python3 challenges/complex_brdf/worker.py

#challenges/complex_brdf/launch: checkmakeversion
# launch.sh hyper challenges/complex_brdf/worker.py lfn_`date +"%Y%m%d_%H%M"` 52423 400
# ./launch.sh hyper challenges/complex_brdf/worker.py lfn_`date +"%Y%m%d_%H%M"` 52423 400

examples/shapenet/hyper: checkmakeversion
./launch.sh hyper examples/shapenet.py shapenet_`date +"%Y%m%d_%H%M"` 10 5

# --- runs the test suite within the dev container (similar to test.yml), e.g.
# USAGE:
Expand Down
4 changes: 2 additions & 2 deletions launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ cat > /tmp/hypertune.yml << EOF
hyperparameterMetricTag: "answer"
maxTrials: $NR_VIDEOS
maxParallelTrials: $NR_WORKERS
maxFailedTrials: 100
maxFailedTrials: 10
enableTrialEarlyStopping: False
# --- each of these become an argparse argument
params:
- parameterName: seed
type: INTEGER
minValue: 0
maxValue: 52423
maxValue: 10
EOF


Expand Down

0 comments on commit bb53435

Please sign in to comment.