openclimatefix / metnet

PyTorch Implementation of Google Research's MetNet and MetNet-2
MIT License
231 stars 47 forks source link

Add HF mixins for easy pushing/pulling pretrained weights #10

Closed jacobbieker closed 2 years ago

jacobbieker commented 2 years ago

Pull Request

Description

Adds ability to push and pull weights from HF Hub

Fixes #

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e988e71). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage        ?   84.89%           
=======================================
  Files           ?       15           
  Lines           ?      576           
  Branches        ?        0           
=======================================
  Hits            ?      489           
  Misses          ?       87           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e988e71...0acebb6. Read the comment docs.