MDIL-SNU / SIMPLE-NN_v2

GNU General Public License v3.0
40 stars 17 forks source link

Exception: In params ./params file not exist for O #112

Closed LateButSteady closed 10 months ago

LateButSteady commented 10 months ago

Hi, I'm having a problem following tutorials. Would you tell me how I can solve this problem?

Here is the exception message when I try to run run.py. Exception: In params ./params file not exist for O

This happens to the directories below (all that have run.py within).

Things I did

Things I noticed

Environments

LateButSteady commented 10 months ago

It turned out that the root directory must be specified, like the code below.

import os
from simple_nn import run

dir_root = r'E:/directory/where/run.py/exists'
os.chdir(dir_root)
run(os.path.join(dir_root, 'input.yaml'))