Closed bugsuse closed 1 year ago
Thanks for your interest and reporting the error! We will submit a PR for fixing it.
The incorrect usage of calc_seq_hits_misses_fas
at L144 does not affect the CSI reported in our paper, but results in the reported pod
to be the actual sucr
, the reported sucr
to be the actual pod
, and the reported bias
to be the actual 1/bias
.
We will also soon submitting PRs that add test-cases, inference examples with the pretrained model.
Really appreciate for pointing it out! @bugsuse
Happy to help! I have also learned many advanced usages from the nice and clean code you shared! @sxjscience
It's a very solid and interesting work! Thanks for your sharing the nice code!
I found that the arguments order of function
calc_seq_hits_misses_fas
at L144 seems inconsistent with the definition at L112. This perhaps lead to errors in the calculation of some metrics (such aspod
,bias
andsucr
).https://github.com/amazon-research/earth-forecasting-transformer/blob/9c18c5a0be9c1af686827a191217a6cccf57812b/src/earthformer/metrics/sevir.py#L112
https://github.com/amazon-research/earth-forecasting-transformer/blob/9c18c5a0be9c1af686827a191217a6cccf57812b/src/earthformer/metrics/sevir.py#L144