-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor evaluation script for improved code organization and perform…
…ance
- Loading branch information
Showing
4 changed files
with
179 additions
and
33 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# ask for sudo access | ||
sudo echo "Use sudo access for clearning cache" | ||
|
||
rm *.csv | ||
|
||
# Define a list of batch sizes to iterate through | ||
batch_sizes=(1 8 16 32) | ||
# batch_sizes=(1 2) | ||
|
||
num_batches=10 | ||
|
||
# Iterate through each batch size | ||
for batch_size in "${batch_sizes[@]}" | ||
do | ||
echo "Running benchmarks with batch size: $batch_size" | ||
|
||
python3 benchmarks/openx.py --dataset_names nyu_door_opening_surprising_effectiveness --num_batches $num_batches --batch_size $batch_size | ||
python3 benchmarks/openx.py --dataset_names berkeley_autolab_ur5 --num_batches $num_batches --batch_size $batch_size | ||
python3 benchmarks/openx.py --dataset_names berkeley_cable_routing --num_batches $num_batches --batch_size $batch_size | ||
python3 benchmarks/openx.py --dataset_names bridge --num_batches $num_batches --batch_size $batch_size | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters