A problem of experiment about ConvLSTM model
Thank you for your outstanding work!
I try to run "python main.py --method=convlstm --dem=0 --slope=0 --batch_size=32",but here's where the question occurs:
Traceback (most recent call last):
File "main.py", line 91, in
How should I modify it, change the amount of input data (number of channels) or change the model?
Thank you for your help! Bingyu
Hello,
Can you please provide the contents of your configs/train/data_config.json file?
Hello,
Can you please provide the contents of your
configs/train/data_config.jsonfile?
{ "track": "RandomEvents", "train_pickle": "pickle/grid_dict.pkl", "test_pickle": "pickle/grid_dict.pkl", "negative_pickle":"pickle/negatives_only.pkl", "inputs": ["pre_event_1","pre_event_2", "post_event"], "channels": ["vv","vh"], "water_percentage": "[0,100]", "data_augmentations":false, "clamp_input": 0.15, "scale_input": "normalize", "data_mean": [0.0953, 0.0264], "data_std": [0.0427, 0.0215], "dem_mean":67.0293, "dem_std":1765.0062, "dem":false, "slope":false, "slope_mean":2.9482, "slope_std":79.2493, "reverse_scaling":false, "uint8":false }
Thank you for catching this. There was an error at the computation of the ConvLSTM input channels. It has been fixed by 67e859d.
Please also note that a major update of the repo is in progress which will fix bugs and align with our recent publication at NeurIPS '24. You can check it out on this branch (it will hopefully be merged within the next few days).
Thank you for your help. I could run it successfully. However, a new problem has now arisen, as shown below:
(0) Train Loss: 1769.0631: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 93/93 [01:45<00:00, 1.13s/it]
0%| | 0/5 [00:00<?, ?it/s]/home5/cby/KuroSiwo-main/training/recurrent_trainer.py:381: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.
with torch.cuda.amp.autocast(enabled=False):
Validation Loss: 25.3056: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:06<00:00, 1.39s/it]
Traceback (most recent call last):
File "main.py", line 91, in
I don't know if it's just me, and I'm getting a very big loss with my training, could you please help me with this? Also very much looking forward to your work on version 2, can foresee it being excellent!
It seems there was an issue with reverse image scaling. It must have been fixed now, please try again.
Concerning the loss, the value that appears in the progress bar is not the average but the cumulative loss, so it makes sense to be this large.
Thanks for your help, but this one never decreases in loss and does not increase in mIOU when training with this model.