From a258db54cdf907de2936593b10ff4a7e726b20f5 Mon Sep 17 00:00:00 2001 From: Victor Phan Date: Thu, 16 Jul 2026 19:32:43 +0700 Subject: [PATCH] =?UTF-8?q?C=E1=BA=ADp=20nh=E1=BA=ADt=20m=C3=A3=20ngu?= =?UTF-8?q?=E1=BB=93n=20v=C3=A0=20file=20Colab=20Cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01.train_ODC.ipynb | 226 +++++----- 01.train_ODC.py | 2 +- 01.train_ODC_XGBoost.ipynb | 389 ++++++------------ 02.predict_ODC.ipynb | 214 +++++----- Download_Cache_Colab.ipynb | 117 ++++++ api_server.py | 51 +++ cache_all_data.py | 91 ++++ create_train_scripts.py | 327 +++++++++++++++ .../__pycache__/__init__.cpython-310.pyc | Bin 667 -> 667 bytes .../__pycache__/bandindices.cpython-310.pyc | Bin 19139 -> 19139 bytes document/README.md | 20 + fix_train.py | 20 + generate_colab_notebook.py | 58 +++ generate_report_only.py | 81 ++++ .../model_land_use_odc_info.json | 38 ++ .../model_lightgbm_info.json | 24 ++ .../model_randomforest_info.json | 20 + .../model_xgboost_20260105_123120_info.json | 195 +++++++++ land_classification_results.md | 19 + log_cnn.txt | 0 log_dt.txt | 0 log_lightgbm.txt | 0 log_mobilenet.txt | 0 log_rf.txt | 0 log_svm.txt | 0 log_swin.txt | 1 + log_xgboost.txt | 0 model_comparison_results.md | 32 ++ ndvi_data_loader.py | 93 +++++ ndvi_forecast_model/ndvi_convlstm_info.json | 7 + .../ndvi_convlstm_real_info.json | 7 + ndvi_forecast_model/ndvi_ensemble_info.json | 6 + .../ndvi_ensemble_real_info.json | 6 + .../ndvi_hybrid_physics_info.json | 6 + .../ndvi_hybrid_physics_real_info.json | 6 + ndvi_forecast_model/ndvi_lstm_info.json | 7 + ndvi_forecast_model/ndvi_lstm_real_info.json | 7 + .../ndvi_statistical_info.json | 6 + new_import_ODC.py | 86 +++- new_train.ipynb | 286 +++++++------ new_train.py | 10 +- patch_caching.py | 231 +++++++++++ patch_rf_to_xgb.py | 75 ++++ remote-sensing.zip:Zone.Identifier | Bin 0 -> 25 bytes run_mock_parallel_and_compare.py | 110 +++++ run_parallel_gpu.sh | 19 + test_caching.py | 25 ++ test_gpu.py | 23 ++ test_shape.py | 41 ++ train_all_land_models.py | 89 ++++ train_cloud_cnn.py | 38 ++ train_cloud_swin_unet.py | 104 +++++ train_land_cnn_gpu.py | 26 ++ train_land_decision_tree_gpu.py | 26 ++ train_land_lightgbm.py | 132 ++++++ train_land_lightgbm_gpu.py | 26 ++ train_land_mobilenet_lraspp_gpu.py | 26 ++ train_land_random_forest_gpu.py | 26 ++ train_land_randomforest.py | 122 ++++++ train_land_svm_gpu.py | 26 ++ train_land_swin_unet_gpu.py | 26 ++ train_land_xgboost_gpu.py | 26 ++ train_module.py | 41 +- train_ndvi_convlstm.py | 80 ++++ train_ndvi_ensemble.py | 50 +++ train_ndvi_hybrid_physics.py | 54 +++ train_ndvi_lstm_gru.py | 64 +++ train_ndvi_statistical.py | 39 ++ training_interface.html | 19 +- 69 files changed, 3377 insertions(+), 645 deletions(-) create mode 100644 Download_Cache_Colab.ipynb create mode 100644 cache_all_data.py create mode 100644 create_train_scripts.py create mode 100644 fix_train.py create mode 100644 generate_colab_notebook.py create mode 100644 generate_report_only.py create mode 100644 land_classification_model/model_land_use_odc_info.json create mode 100644 land_classification_model/model_lightgbm_info.json create mode 100644 land_classification_model/model_randomforest_info.json create mode 100644 land_classification_model/model_xgboost_20260105_123120_info.json create mode 100644 land_classification_results.md create mode 100644 log_cnn.txt create mode 100644 log_dt.txt create mode 100644 log_lightgbm.txt create mode 100644 log_mobilenet.txt create mode 100644 log_rf.txt create mode 100644 log_svm.txt create mode 100644 log_swin.txt create mode 100644 log_xgboost.txt create mode 100644 model_comparison_results.md create mode 100644 ndvi_data_loader.py create mode 100644 ndvi_forecast_model/ndvi_convlstm_info.json create mode 100644 ndvi_forecast_model/ndvi_convlstm_real_info.json create mode 100644 ndvi_forecast_model/ndvi_ensemble_info.json create mode 100644 ndvi_forecast_model/ndvi_ensemble_real_info.json create mode 100644 ndvi_forecast_model/ndvi_hybrid_physics_info.json create mode 100644 ndvi_forecast_model/ndvi_hybrid_physics_real_info.json create mode 100644 ndvi_forecast_model/ndvi_lstm_info.json create mode 100644 ndvi_forecast_model/ndvi_lstm_real_info.json create mode 100644 ndvi_forecast_model/ndvi_statistical_info.json create mode 100644 patch_caching.py create mode 100644 patch_rf_to_xgb.py create mode 100644 remote-sensing.zip:Zone.Identifier create mode 100644 run_mock_parallel_and_compare.py create mode 100644 run_parallel_gpu.sh create mode 100644 test_caching.py create mode 100644 test_gpu.py create mode 100644 test_shape.py create mode 100644 train_all_land_models.py create mode 100644 train_cloud_cnn.py create mode 100644 train_cloud_swin_unet.py create mode 100644 train_land_cnn_gpu.py create mode 100644 train_land_decision_tree_gpu.py create mode 100644 train_land_lightgbm.py create mode 100644 train_land_lightgbm_gpu.py create mode 100644 train_land_mobilenet_lraspp_gpu.py create mode 100644 train_land_random_forest_gpu.py create mode 100644 train_land_randomforest.py create mode 100644 train_land_svm_gpu.py create mode 100644 train_land_swin_unet_gpu.py create mode 100644 train_land_xgboost_gpu.py create mode 100644 train_ndvi_convlstm.py create mode 100644 train_ndvi_ensemble.py create mode 100644 train_ndvi_hybrid_physics.py create mode 100644 train_ndvi_lstm_gru.py create mode 100644 train_ndvi_statistical.py diff --git a/01.train_ODC.ipynb b/01.train_ODC.ipynb index d6121e7..cf4d5ed 100644 --- a/01.train_ODC.ipynb +++ b/01.train_ODC.ipynb @@ -6,10 +6,10 @@ "id": "912ed572-1658-406b-976c-cd6de2d4e89e", "metadata": { "execution": { - "iopub.execute_input": "2026-07-15T08:35:10.338079Z", - "iopub.status.busy": "2026-07-15T08:35:10.337865Z", - "iopub.status.idle": "2026-07-15T08:35:14.509657Z", - "shell.execute_reply": "2026-07-15T08:35:14.509184Z" + "iopub.execute_input": "2026-07-16T04:20:01.352532Z", + "iopub.status.busy": "2026-07-16T04:20:01.351846Z", + "iopub.status.idle": "2026-07-16T04:20:10.293190Z", + "shell.execute_reply": "2026-07-16T04:20:10.292470Z" }, "tags": [] }, @@ -559,12 +559,12 @@ "data": { "application/vnd.holoviews_exec.v0+json": "", "text/html": [ - "
\n", - "
\n", + "
\n", + "
\n", "
\n", "