Cannot test codes due to outdated documentation #13
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
question
Further information is requested
Documentation for running codes:
source activate
cd RLGC/src/py
python trainIEEE39LoadSheddingAgent_discrete_action.py
Problems and custom fixes:
ModuleNotFoundError: No module named 'PowerDynSimEnvDef_v7' because of code snippet
from PowerDynSimEnvDef_v7 import PowerDynSimEnv
y4j.protocol.Py4JJavaError: An error occurred while calling t.initStudyCase.
: java.io.FileNotFoundException: C:\Users\0000011369979\Documents\Work\FY2020_2\kochi\RLGC\RLGC_env\RLGC\examples\IEEE39_load_shedding\testData\IEEE39\json\IEEE39_dyn_config.json (The system cannot find the path specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
at java.base/java.io.FileInputStream.(FileInputStream.java:155)
...
Traceback (most recent call last):
File "C:/Users/0000011369979/Documents/Work/FY2020_2/kochi/RLGC/RLGC_env/RLGC/examples/IEEE39_load_shedding/trainIEEE39LoadSheddingAgent_discrete_action.py", line 125, in
train(total_steps, lr, env, model_path, final_saved_model,saved_model_dir)
File "C:/Users/0000011369979/Documents/Work/FY2020_2/kochi/RLGC/RLGC_env/RLGC/examples/IEEE39_load_shedding/trainIEEE39LoadSheddingAgent_discrete_action.py", line 90, in train
load_path=model_path
TypeError: learn() got an unexpected keyword argument 'network'
I finally gave up. It seems there are a lot of issues regarding Paths. Moreover, I would like to know a simpler way of testing the author's code.
The text was updated successfully, but these errors were encountered: