From 38f61f4a788c712e1a88ebe1d21d2b49a9bde498 Mon Sep 17 00:00:00 2001 From: jh-206 Date: Sun, 13 Oct 2024 17:36:45 -0600 Subject: [PATCH] Update moisture_rnn.py --- fmda/moisture_rnn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fmda/moisture_rnn.py b/fmda/moisture_rnn.py index ee39fec..a2c7c1c 100644 --- a/fmda/moisture_rnn.py +++ b/fmda/moisture_rnn.py @@ -15,7 +15,7 @@ from tensorflow.keras.layers import LSTM, SimpleRNN, Input, Dropout, Dense import reproducibility # from utils import print_dict_summary from abc import ABC, abstractmethod -from utils import hash2, all_items_exist, hash_ndarray, hash_weights +from utils import hash2, all_items_exist, hash_ndarray, hash_weights, Dict from data_funcs import rmse, plot_data, compare_dicts import copy # import yaml @@ -1799,7 +1799,7 @@ class RNN_LSTM(RNNModel): def rnn_data_wrap(dict0, params): rnn_dat = RNNData( - dict0, # input dictionary + Dict(dict0), # input dictionary scaler="standard", # data scaling type features_list = params['features_list'] # features for predicting outcome ) -- 2.11.4.GIT