pangeo-data / WeatherBench

A benchmark dataset for data-driven weather forecasting
MIT License
714 stars 165 forks source link

Tensorflow 2 compatibility #13

Closed raspstephan closed 4 years ago

raspstephan commented 4 years ago

The train script is now TF2 compatible but should still run with >=1.14. Unfortunately the implementation of PeriodicConv2D throws a warning for <2.x which can be ignored, though. The old implementation is still in train_nn.py.

Also, I removed the exact version numbers again from environment.yml because this seems to have caused some problems (see #12). But I added the exact version numbers I used as a comment in the environment file.