Skip to content

Commit

Permalink
Add log evaluation metrics to train_acd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mjevans26 committed Jan 26, 2021
1 parent 5da2b44 commit a4a6dcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .spyproject/workspace.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ save_non_project_files = False

[main]
version = 0.1.0
recent_files = ['C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\calibration.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\clouds.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\stats.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\processing.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\model.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\prediction_tools.py']
recent_files = ['C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\processing.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\utils\\model.py', 'C:\\Users\\mevans\\OneDrive - Defenders of Wildlife\\repos\\Satellite_ComputerVision\\azure\\train_acd.py']

3 changes: 3 additions & 0 deletions azure/train_acd.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@

m.save(os.path.join(out_dir, 'unet256.h5'))

test = m.evaluate(evaluation, return_dict = True)
iou = test.get('mean_iou')
run.log('IoU', iou)

0 comments on commit a4a6dcb

Please sign in to comment.