Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT Staging 20230930 60k basic targetted epoch37 myria3d v3.4.0 #94

5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CHANGELOG

## 3.5.1
## 3.6.0
- Migrate to model "20230930_60k_basic_targetted_epoch37_Myria3DV3.4.0".

### 3.5.1
- Run CICD operations for all branches prefixed with "staging-"

## 3.5.0
Expand Down
2 changes: 1 addition & 1 deletion package_metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__: "3.5.1"
__version__: "3.6.0"
__name__: "myria3d"
__url__: "https://github.com/IGNF/myria3d"
__description__: "Deep Learning for the Semantic Segmentation of Aerial Lidar Point Clouds"
Expand Down
6 changes: 4 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@

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_CHECKPOINT = "proto151_V2.0_epoch_100_Myria3DV3.1.0.ckpt"
DEFAULT_CONFIG_FILE = (
"20230930_60k_basic_targetted_epoch37_Myria3DV3.4.0_predict_config_V3.6.0.yaml"
)
DEFAULT_CHECKPOINT = "20230930_60k_basic_targetted_epoch37_Myria3DV3.4.0.ckpt"
DEFAULT_ENV = "placeholder.env"


Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ print_config: true
ignore_warnings: true
trainer:
_target_: pytorch_lightning.Trainer
gpus:
- 0
- 1
min_epochs: 100
max_epochs: 150
gpus: 0
min_epochs: 300
max_epochs: 400
log_every_n_steps: 1
weights_summary: null
progress_bar_refresh_rate: 1
auto_lr_find: false
num_sanity_val_steps: 2
accumulate_grad_batches: 3
strategy: ddp
accelerator: gpu
num_processes: 2
datamodule:
transforms:
preparations:
Expand Down Expand Up @@ -118,9 +113,10 @@ datamodule:
preparations_predict_list: '${oc.dict.values: datamodule.transforms.preparations.predict}'
normalizations_list: '${oc.dict.values: datamodule.transforms.normalizations}'
_target_: myria3d.pctl.datamodule.hdf5.HDF5LidarDataModule
data_dir: null
split_csv_path: null
hdf5_file_path: /var/data/cgaydon/data/20220607_151_dalles_proto.myria3d-V2.4.hdf5
data_dir: /mnt/store-lidarhd/projet-LHD/IA/PACASAM-SHARED-WORKSPACE/CGaydon/20230930_60k_basic_targetted/data/
epsg: null
split_csv_path: /mnt/store-lidarhd/projet-LHD/IA/PACASAM-SHARED-WORKSPACE/CGaydon/20230930_60k_basic_targetted/data/split.csv
hdf5_file_path: /var/data/CGaydon/myria3d_datasets/20230930_60k_basic_targetted.hdf5
points_pre_transform:
_target_: functools.partial
_args_:
Expand All @@ -136,35 +132,16 @@ datamodule:
subtile_overlap_predict: ${predict.subtile_overlap}
batch_size: 10
num_workers: 3
prefetch_factor: 3
prefetch_factor: 2
dataset_description:
_convert_: all
classification_preprocessing_dict:
3: 5
4: 5
160: 64
161: 64
162: 64
0: 1
7: 1
46: 1
47: 1
48: 1
49: 1
50: 1
51: 1
52: 1
53: 1
54: 1
55: 1
56: 1
57: 1
58: 1
66: 1
67: 1
77: 1
155: 1
204: 1
66: 65
100: 1
101: 1
classification_dict:
1: unclassified
2: ground
Expand All @@ -173,14 +150,6 @@ dataset_description:
9: water
17: bridge
64: lasting_above
class_weights:
- 0.25
- 0.1
- 0.1
- 0.5
- 2.0
- 2.0
- 2.0
d_in: 9
num_classes: 7
callbacks:
Expand Down Expand Up @@ -227,9 +196,11 @@ model:
patience: 20
cooldown: 5
verbose: true
min_lr: 0.001
criterion:
_target_: torch.nn.CrossEntropyLoss
label_smoothing: 0.0
ignore_index: 65
_target_: myria3d.models.model.Model
d_in: ${dataset_description.d_in}
num_classes: ${dataset_description.num_classes}
Expand Down Expand Up @@ -258,17 +229,17 @@ logger:
api_key: ${oc.env:COMET_API_TOKEN}
workspace: ${oc.env:COMET_WORKSPACE}
project_name: ${oc.env:COMET_PROJECT_NAME}
experiment_name: '[V3.0.2-BS10xMAX40000pts] RandLaNet_base_run_FR_pyg_randla_net_NoRS'
experiment_name: 20230930_60k_basic_targetted
auto_log_co2: false
disabled: false
task:
task_name: predict
predict:
src_las: /path/to/input.las
output_dir: /path/to/output_dir/
ckpt_path: trained_model_assets/proto151_V2.0_epoch_100_Myria3DV3.1.0.ckpt
subtile_overlap: 0
ckpt_path: trained_model_assets/20230930_60k_basic_targetted_epoch37_Myria3DV3.4.0.ckpt
gpus: 0
subtile_overlap: 0
interpolator:
_target_: myria3d.models.interpolation.Interpolator
interpolation_k: 10
Expand Down
Loading