Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing some related packages #2

Open
q310194 opened this issue Sep 23, 2022 · 8 comments
Open

Missing some related packages #2

q310194 opened this issue Sep 23, 2022 · 8 comments

Comments

@q310194
Copy link

q310194 commented Sep 23, 2022

image

image

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

@BohyungPaeng
Copy link
Owner

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.

@q310194
Copy link
Author

q310194 commented Sep 29, 2022

@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

@BohyungPaeng
Copy link
Owner

@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.

@q310194
Copy link
Author

q310194 commented Sep 29, 2022

@BohyungPaeng oh oh , i got it!

thank you

@q310194
Copy link
Author

q310194 commented Sep 30, 2022

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
Copy link
Author

q310194 commented Sep 30, 2022

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?

@Gabbydgoat
Copy link

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

@Russell777777777
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants