DRL-Scheduling-tf icon indicating copy to clipboard operation
DRL-Scheduling-tf copied to clipboard

Missing some related packages

Open q310194 opened this issue 2 years ago • 8 comments

image

image

Missing TDsim and DARTSPolicy calsses in test.py line 214. get_performance_pkg in test.py line 235.

q310194 avatar Sep 23 '22 02:09 q310194

Thanks for finding hard-to-find errors, q310194! Sorry for bothering you with unmanageble error messages. But line 214 is included in test_logic() method, which is not used more. argument <test_mode> for test.py should be set to 'logic' and linked to test_logic_seeds() method for reproducing heuristics in the paper. Those objects TDSim and DARTSPolicy(You ve mentioned), and dependent packages in utils.problemIO such as ProblemReaderDB are deprecated. Thanks a lot for reproducing my works and carefully reviewing the codes.

BohyungPaeng avatar Sep 29 '22 09:09 BohyungPaeng

@BohyungPaeng Thanks for your response!!! Another question is in code I saw your dqn.py is “PDQN” can you give me the full name? Because in dqn there are much similar name algorithms.

Best regards

q310194 avatar Sep 29 '22 12:09 q310194

@q310194 Though my model have no official name in the paper, however, I nominated it as Parameter sharing Deep Q Network. Refer the Fig 2 in https://ieeexplore.ieee.org/abstract/document/9486959 with codes.

BohyungPaeng avatar Sep 29 '22 15:09 BohyungPaeng

@BohyungPaeng oh oh , i got it!

thank you

q310194 avatar Sep 29 '22 15:09 q310194

Thanks for finding hard-to-find errors, q310194! Sorry for bothering you with unmanageble error messages. But line 214 is included in test_logic() method, which is not used more. argument <test_mode> for test.py should be set to 'logic' and linked to test_logic_seeds() method for reproducing heuristics in the paper. Those objects TDSim and DARTSPolicy(You ve mentioned), and dependent packages in utils.problemIO such as ProblemReaderDB are deprecated. Thanks a lot for reproducing my works and carefully reviewing the codes.

So I need to mark# code that have this useless function or pkg? When I run main.py it always have package or function undefined error.

like this: image

error box here:

Or am I set some wrong parameter? image

q310194 avatar Sep 30 '22 02:09 q310194

Another question is when i run main.py and test.py , get the test_proformence_logic.xlsx image how to transport these value to mean tardiness?

q310194 avatar Sep 30 '22 06:09 q310194

Although, i have installed all the necessary dependencies, i still get the above error code which has prevented the training of the dataset. error debug

error debug

Gabbydgoat avatar Jul 05 '23 13:07 Gabbydgoat

@q310194 Can you please tell me if you've solved the problem of running main.py now that it always has package or function undefined errors? How to solve?

Russell777777777 avatar Oct 09 '23 12:10 Russell777777777