You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# pip install olymp sqlalchemy matplotlib# initalize the Olympus orchestratorfromolympusimportOlympus, Database, Campaignfromtimeimporttimefromosimportpatholymp=Olympus()
# we declare a local database to which we store our campaign resultsdatabase=Database()
DATASET="photo_pce10"NUM_REPETITIONS=10PLANNERS= ["Grid"]
elapsed_times= {"planner": [], "time": []}
forPLANNERinPLANNERS:
forrepetitioninrange(NUM_REPETITIONS):
print(f"Algorithm: {PLANNER} [repetition {repetition+1}]")
start_time=time()
olymp.run(
planner=PLANNER, # run simulation with <PLANNER>,dataset=DATASET, # on emulator trained on dataset <DATASET>;campaign=Campaign(), # store results in a new campaign,database=database, # but use the same database to store campaign;num_iter=100, # run benchmark for num_iter iterations
)
elapsed_time=time() -start_timeelapsed_times["planner"].append(PLANNER)
elapsed_times["time"].append(elapsed_time)
and it's not apparent what I need to change. What would you suggest?
The text was updated successfully, but these errors were encountered:
sgbaird
changed the title
Local location of dataset contains absolute directory path and is prepended with "dataset_"
Local location of dataset and models contains absolute directory path and is prepended with "dataset_" and "model"
Nov 13, 2022
Running on Windows.
Changing to the following (based on error message) worked for the dataset:
But then I get the following error about the model:
and it's not apparent what I need to change. What would you suggest?
The text was updated successfully, but these errors were encountered: