-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run my own datasetwithin Earthformer #62
Comments
Thanks for your question. You may want to refer to the simplest test case to verify if the shapes are aligned correctly. Please note that this test script is from my fork, which has not been merged into this repo. |
I'm not sure if you are using the correct script in my fork, but you don't need to run |
You should parse the args to |
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 |
Yes, please feel free to refer to [ earth-forecasting-transformer/scripts/cuboid_transformer/sevir/train_cuboid_sevir.py Lines 485 to 506 in 7732b03
|
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 by the predictive factors. So each row represents different predictive factors and targets at different times and different longitude locations, but my latitude and longitude are not on a regular grid of points as in the ENSO example you provided, so there is no way to handle it as an array shape like ENSO (Time, lat, lon, number of predictive factor), isn't it necessary to process the data on a regular grid with regular latitude and longitude lat x lon in order to enter it into Earthformer? |
Earthformer is designed to handle regularly gridded data. For your case, you may want to use masks to indicate missing values, if the data is not too sparse. |
Are there any examples for reference? |
I want to use Earthformer to train my own dataset and test it, what format should I process the data into and what py files should I prepare?
The text was updated successfully, but these errors were encountered: