Skip to content

Commit

Permalink
Update plot_random_airfoil_results.py
Browse files Browse the repository at this point in the history
bug fix to display correct scaler type
  • Loading branch information
pjuangph committed Oct 18, 2022
1 parent a76dabc commit f211e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytorch/plot_random_airfoil_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def plot_airfoil_performance(predicted_results,folder,airfoil_name,Reynolds,Ncri
if model_type=='dnn':
layer_size = model_data['model_info']['Layers'][0]
nlayers = len(model_data['model_info']['Layers'])
scaler_type = model_data['model_info']['scaler-type']
model_name = f'{scaler_type}-MLP-{layer_size}x{nlayers}'

polars = pd.DataFrame(model_data['predicted_polars'])
Expand Down

0 comments on commit f211e62

Please sign in to comment.