fizzking

Results 10 comments of fizzking

I ran the command in readme: python3 -m pytest. The result is the following error, what does it mean? ![5a32edff5a9fb4f0ec51f9a6b88ca1c](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/e47922ff-cf9f-4d5b-8a25-1460c3233ec1)

I run the test code according to what you said, and the result shows that the model lacks parameters. How to specify these two model parameters? ![a478cc3f888e896be4de7279e781c81](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/cf844c16-b546-4207-b7a6-e4346f44f5c0)

Thank you very much for your patient reply! I successfully ran this code.

The test_cuboid.py you provided is to test the data. Do I need to write a training code according to your train_cuboid_nbody

My data is a csv file with M rows and N columns, where the columns of the csv file are: time, latitude, longitude, several predictive factors and target outputs affected...

Are there any examples for reference?

I also encountered this problem, here is my version number: ![1dd978402634d2f9a87e52c42c2d9a0](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/7d71d9b4-ccc2-42ef-be86-61961c1e2863) ![5508c062d75a3ca7d5028fbbbb08ec0](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/8a9d1c4a-9f71-4d60-b6f7-a8873fbef30c)

I replaced it with the same version as you said:torchmetrics==0.11.1,torch==1.12.1+cu116 and pytorch_lightning==1.6.4 , and the code ran to 4% and stopped to report an error: ![bbb8f0976b4cee69d340a9d804de714](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/dc68a3ab-36ad-4bea-8b67-f13748354198) ![5460812f2d71ecc3aa1c120b8650e0a](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/501018ab-83eb-47e1-abf8-534d6935dfb8)

Ok, I understand. But why are in_len and out_len respectively 12,14 in fig configuration, but 12 and 26 in data preprocessing? ![e2f4a13c2b3a7ef1ad15bab4fad6ab7](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/94471b45-645f-464e-abb4-e3f45fa14c3a) ![98994437c144c6424cd958f63597b48](https://github.com/amazon-science/earth-forecasting-transformer/assets/111410702/5f8bbf49-0c85-4584-ab1f-d71cee721a0a)

Why I use the command: MASTER_ADDR=localhost MASTER_PORT=10001 python ./scripts/cuboid_transformer/enso/train_cuboid_enso.py --gpus 1 --cfg ./scripts/cuboid_transformer/enso/earthformer_enso_v1.yaml --ckpt_name last.ckpt --save tmp_enso Trying to run the training enso dataset results in code that automatically kills?...