You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the script from results/Mountain_Car.py, but I ran into an error,
Traceback (most recent call last):
File "Mountain_Car.py", line 3, in <module>
from agents.policy_gradient_agents.PPO import PPO
ModuleNotFoundError: No module named 'agents'
Fortunately, the problem can be solved by inserting the following lines
import sys
from os.path import dirname, abspath
sys.path.append(dirname(dirname(abspath(__file__))))
in the script Mountain_Car.py.
The text was updated successfully, but these errors were encountered:
I tried to run the script from
results/Mountain_Car.py,
but I ran into an error,Fortunately, the problem can be solved by inserting the following lines
in the script
Mountain_Car.py
.The text was updated successfully, but these errors were encountered: