brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
trainingRepository operating skill for Flow Forecast config-driven training, validation, checkpoints, model selection, and light smoke runs.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about fitting, resuming, validating, or debugging Flow Forecast models. It covers the JSON trainer workflow, meta/autoencoder training, loss and optimizer selection, and the data-loader/model-contract details that determine whether a run can start successfully.
Start with:
python -m flood_forecast.trainer -p config.json for the main PyTorch and DA-RNN entry path.python -m flood_forecast.meta_train -p config.json for the autoencoder/meta path.PyTorchForecast, train_transformer_style, torch_single_train, compute_validation, and EarlyStopper.model_dict_function registry, scaling_function, make_criterion_functions, and weight_path / weight_path_add transfer-learning knobs.flood_forecast.da_rnn.train_da, not a standalone package CLI; read the troubleshooting caveat before using preprocess_da_rnn.make_data output directly.scripts/validate_training_config.py.references/model-configs.md and references/configuration.md.inference_params should usually be present because the trainer evaluates after fitting.wandb must be False or a mapping; a bare True is not valid because the code reads wandb.get(...).device: "auto" prefers CUDA, then MPS, then CPU. Explicit cuda or mps requests fail if the backend is missing.scaler_params are often written with feature_range as a list; the trainer normalizes that to a tuple before constructing the scaler.GeneralClassificationLoader and VariableSequenceLength follow different validation paths from forecasting loaders, so do not expect the same post-training evaluation flow.