Change default value of CL argument

This commit is contained in:
Michel Breyer 2021-12-03 14:13:59 +01:00
parent e6e116bf54
commit 1c3764f785
2 changed files with 5 additions and 1 deletions

2
scripts/calibrate_roi.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import numpy as np
import rospy

4
scripts/run.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
import argparse
from datetime import datetime
import pandas as pd
@ -33,7 +35,7 @@ def main():
def create_parser():
parser = argparse.ArgumentParser()
parser.add_argument("policy", type=str, choices=registry.keys())
parser.add_argument("--runs", type=int, default=100)
parser.add_argument("--runs", type=int, default=1)
parser.add_argument("--logdir", type=Path, default="logs")
parser.add_argument("--seed", type=int, default=1)
return parser