Open rewat7 opened 10 months ago
The ElegantRL updated the library which has resulted in changes to its structure, specifically the removal of the init_agent function. Could you provide the full error traceback? This would give more clarity on where things are breaking and how best to approach a fix.
It would be helpful to understand how you are using the code. Are you trying to run a specific script or function?
In the meantime, as a temporary solution, you could consider using an older version of the ElegantRL library where the init_agent function is still present. This can be done by specifying the version number when installing via pip. However, this is just a temporary workaround and might not be the best solution in the long run.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior The argument class can not be imported as it's not implemented. init_agent function used to load the pre-trained
model is not implemented hence cant be imported
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.