When attempting to run the models using testPUR-Reg.py and trainPUR-Reg.py, we encounter the following error:
Error:
File "testPUR-Reg.py", line 208, in
masterDict = master.wrapMaster(out, optData, optModel, optLoss, optTrain)
AttributeError: module 'hydroDL.master' has no attribute 'wrapMaster'
The issue seems to stem from an incorrect module import statement in these files. The current import statement, from hydroDL import master, does not correctly load the required functions.
Proposed Solution:
To resolve this issue, we propose modifying the import statement at the beginning of both testPUR-Reg.py and trainPUR-Reg.py. The corrected import statement should be as follows:
from hydroDL.master import master
Steps to Reproduce:
Run testPUR-Reg.py or trainPUR-Reg.py.
Observe the AttributeError mentioned above.
When attempting to run the models using testPUR-Reg.py and trainPUR-Reg.py, we encounter the following error:
Error:
File "testPUR-Reg.py", line 208, in
masterDict = master.wrapMaster(out, optData, optModel, optLoss, optTrain)
AttributeError: module 'hydroDL.master' has no attribute 'wrapMaster'
The issue seems to stem from an incorrect module import statement in these files. The current import statement, from hydroDL import master, does not correctly load the required functions.
Proposed Solution:
To resolve this issue, we propose modifying the import statement at the beginning of both testPUR-Reg.py and trainPUR-Reg.py. The corrected import statement should be as follows:
from hydroDL.master import master
Steps to Reproduce:
Run testPUR-Reg.py or trainPUR-Reg.py.
Observe the AttributeError mentioned above.