Skip to content

Commit

Permalink
Update run_simulation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yjwong1999 committed Jun 14, 2023
1 parent 2e38a84 commit 2583e09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions run_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
# get argument from user
parser = argparse.ArgumentParser()
parser.add_argument('--store-path', type = str, required = True, help="pretrained model weight path")
parser.add_argument('--ep-num', type = int, required = True, default=300, help='total number of episodes')

args = parser.parse_args()
STORE_PATH = args.store_path
EP_NUM = args.ep_num
EP_NUM = 1

# validate the weight path
if not os.path.isdir(STORE_PATH):
Expand Down

0 comments on commit 2583e09

Please sign in to comment.