NameError: name 'RNN_configs_path' is not defined

30 views Asked by At

This is my code:

from pathlib import Path

home = str(Path.home())
if home == '/Users/briannaglenn/Documents/Projects/Princeton 2024':
    projects_folder = home
    data_save_path = home + f'/rnn_coach/data/trained_RNNs/{taskname}'
    RNN_configs_path = home + '/rnn_coach/data/configs/{taskname}'

disp = True
config_dict = json.load(
    open(os.path.join(RNN_configs_path, train_config_file), mode="r", encoding='utf-8'))

I kept editing the 'RNN_configs_path' pathway

Why do I keep getting this error:

NameError: name 'RNN_configs_path' is not defined
0

There are 0 answers