From ca919f2ff92863afbcb88b1a2c0118f76e6394bc Mon Sep 17 00:00:00 2001 From: Charles Gaydon Date: Tue, 6 Feb 2024 16:16:31 +0100 Subject: [PATCH] Mention the retrocompatibility of changes and the need to update predict_config --- CHANGELOG.md | 1 + run.py | 3 ++- ...51_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.7.0.yaml} | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename trained_model_assets/{proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.5.0.yaml => proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.7.0.yaml} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38146d48..0507c492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 3.7.0 - Update all versions of Pytorch, Pytorch Lightning, and Pytorch Geometric. + Changes are retrocompatible for models trained with older versions (with adjustment to the configuration file). - Refactor logging of single-class IoUs to go from num_classes+1 torchmetrics instances to only 1. ### 3.6.1 diff --git a/run.py b/run.py index e9731a7b..4e47aef8 100755 --- a/run.py +++ b/run.py @@ -22,7 +22,7 @@ TASK_NAME_DETECTION_STRING = "task.task_name=" DEFAULT_DIRECTORY = "trained_model_assets/" -DEFAULT_CONFIG_FILE = "proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.5.0.yaml" +DEFAULT_CONFIG_FILE = "proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.7.0.yaml" DEFAULT_CHECKPOINT = "proto151_V2.0_epoch_100_Myria3DV3.1.0.ckpt" DEFAULT_ENV = "placeholder.env" @@ -48,6 +48,7 @@ def launch_train( # Imports should be nested inside @hydra.main to optimize tab completion # Read more here: https://github.com/facebookresearch/hydra/issues/934 from myria3d.train import train + utils.extras(config) # Pretty print config using Rich library diff --git a/trained_model_assets/proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.5.0.yaml b/trained_model_assets/proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.7.0.yaml similarity index 100% rename from trained_model_assets/proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.5.0.yaml rename to trained_model_assets/proto151_V2.0_epoch_100_Myria3DV3.1.0_predict_config_V3.7.0.yaml