Skip to content
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

Update delete_expt.py's comment #48

Merged
merged 1 commit into from
Apr 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rla_scripts/delete_expt.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def argsparser():
parser.add_argument('--task_table_name', type=str, default="")
parser.add_argument('--regex', type=str)
parser.add_argument('--timestep_bound', type=int, default=100)
# Filter.ALL: delete all experiments satisfied regex
# Filter.SMALL_TIMESTEP: delete all experiments that the names satisfy regex
# Filter.ALL (type 'all' in CLI): delete all experiments satisfied regex
# Filter.SMALL_TIMESTEP (type 'small_ts' in CLI): delete all experiments that the names satisfy regex
# and the recorded timesteps are less than args.timestep_bound.
parser.add_argument('--delete_type', type=str, default=Filter.ALL)

Expand All @@ -31,4 +31,4 @@ def argsparser():
elif args.delete_type == Filter.SMALL_TIMESTEP:
dlt.delete_small_timestep_log()
else:
raise NotImplementedError
raise NotImplementedError