Skip to content

Commit

Permalink
use river-dl as git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
jsadler2 committed Feb 14, 2022
1 parent cee3da5 commit 35bdfa4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "river-dl"]
path = river-dl
url = /mnt/d/onedrive/OneDrive - DOI/research/drb/drb_do/drb-do-ml/2a_model/src/models/river-dl
7 changes: 7 additions & 0 deletions 2a_model/src/models/0_baseline_LSTM/Snakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
code_dir = '../river-dl'
# if using river_dl installed with pip this is not needed
import sys
sys.path.insert(0, code_dir)

import os
import tensorflow as tf
import numpy as np
import pandas as pd
import inspect

import river_dl
from river_dl.preproc_utils import asRunConfig
from river_dl.preproc_utils import prep_all_data
from river_dl.evaluate import combined_metrics
Expand Down
1 change: 1 addition & 0 deletions river-dl
Submodule river-dl added at 84fbb3

0 comments on commit 35bdfa4

Please sign in to comment.