Skip to content

Commit

Permalink
Merge pull request #5 from openclimatefix/jacob/nature-paper
Browse files Browse the repository at this point in the history
Match Nature Paper Implementation
  • Loading branch information
jacobbieker authored Nov 11, 2021
2 parents ffceee9 + 8af6638 commit 1743e06
Show file tree
Hide file tree
Showing 19 changed files with 1,740 additions and 702 deletions.
11 changes: 11 additions & 0 deletions import_deepmind_weights.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import tensorflow as tf
import tensorflow_hub
import torch
from nowcasting_gan import DGMR
import os
import fsspec

module = tensorflow_hub.load("/home/jacob/256x256/")
print(module)
print(module.signatures)
sig_model = module.signatures["default"]
6 changes: 3 additions & 3 deletions nowcasting_gan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .nowcasting_gan import NowcastingGAN
from .generators import NowcastingSampler, NowcastingGenerator
from .discriminators import NowcastingSpatialDiscriminator, NowcastingTemporalDiscriminator
from .dgmr import DGMR
from .generators import Sampler, Generator
from .discriminators import SpatialDiscriminator, TemporalDiscriminator, Discriminator
from .common import LatentConditioningStack, ContextConditioningStack
Loading

0 comments on commit 1743e06

Please sign in to comment.