Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion datadrivenpdes/pipelines/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"""Training and evaluation pipelines."""
from datadrivenpdes.pipelines import beamlib
from datadrivenpdes.pipelines import model_utils
1 change: 1 addition & 0 deletions datadrivenpdes/pipelines/beamlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# limitations under the License.
# ==============================================================================
"""Beam utilities."""

import apache_beam as beam
import numpy as np
from typing import List, Tuple
Expand Down
9 changes: 7 additions & 2 deletions datadrivenpdes/pipelines/create_training_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@

from absl import app
from absl import flags
import apache_beam as beam

try:
import apache_beam as beam
from datadrivenpdes.pipelines import beamlib
except:
pass

import numpy as np
from datadrivenpdes.core import builders
from datadrivenpdes.core import equations
from datadrivenpdes.core import grids
from datadrivenpdes.pipelines import beamlib
import tensorflow as tf

# Ensure Equation subclasses are defined so we can look them up by name.
Expand Down
7 changes: 6 additions & 1 deletion datadrivenpdes/pipelines/create_training_data_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
from absl import flags
from absl.testing import flagsaver
from absl.testing import parameterized
import apache_beam as beam

try:
import apache_beam as beam
except:
pass

from datadrivenpdes.core import builders
from datadrivenpdes.pipelines import create_training_data
from tensorflow import gfile
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

INSTALL_REQUIRES = [
'absl-py',
'apache-beam',
'numpy',
'scipy',
'xarray',
Expand Down