File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ echo "Running Autotuner plotting smoke test"
4141all_experiments=$( ls -d ./flow/logs/${PLATFORM} /${DESIGN_NAME} /smoke-test-tune* )
4242all_experiments=$( basename -a $all_experiments )
4343for expt in $all_experiments ; do
44- python3 tools/AutoTuner/src/autotuner/utils /plot.py \
44+ python3 tools/AutoTuner/scripts /plot.py \
4545 --platform ${PLATFORM} \
4646 --design ${DESIGN_NAME} \
4747 --experiment $expt
Original file line number Diff line number Diff line change 5050METRIC = "metric"
5151
5252cur_dir = os .path .dirname (os .path .abspath (__file__ ))
53- root_dir = os .path .join (cur_dir , "../../../../../ " )
53+ root_dir = os .path .join (cur_dir , "../../../" )
5454os .chdir (root_dir )
5555
5656
@@ -91,6 +91,8 @@ def load_dir(dir: str) -> pd.DataFrame:
9191 params .append (_dict )
9292 except Exception as e :
9393 failed .append (metrics_fname )
94+ print ("Failed to load" , metrics_fname )
95+ print (e )
9496 continue
9597
9698 # Merge all dataframe
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ def openroad(
332332 stdout_file = os .path .join (log_path , "make-finish-stdout.log" ),
333333 )
334334
335- metrics_file = os .path .abspath (os .path .join (report_path , "metrics.json" ))
335+ metrics_file = os .path .abspath (os .path .join (log_path , "metrics.json" ))
336336 metrics_command = export_command
337337 metrics_command += f"{ base_dir } /flow/util/genMetrics.py -x"
338338 metrics_command += f" -v { flow_variant } "
You can’t perform that action at this time.
0 commit comments