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
When I run the code rlrobot.run() , there is something wrong with the following information
Task Wander_12Ks_25a 12500 states 25 actions
Connected to Robot
wander_12k_TOSL_QBIASSR
Traceback (most recent call last):
File "", line 1, in
File "/home/maroon/RL-ROBOT/rlrobot.py", line 109, in run
lp.setup() # Learning process setup
File "/home/maroon/RL-ROBOT/lp.py", line 65, in setup
agent.setup()
File "/home/maroon/RL-ROBOT/agent.py", line 109, in setup
action_selection.setup()
File "/home/maroon/RL-ROBOT/action_selection.py", line 32, in setup
action_qbiassr.setup()
File "/home/maroon/RL-ROBOT/action_qbiassr.py", line 53, in setup
index = np.full(([n_states, n_inputs, n_states]), -1, dtype=np.int)
File "/home/maroon/.local/lib/python3.5/site-packages/numpy/core/numeric.py", line 298, in full
a = empty(shape, dtype, order)
MemoryError
Is this a common problem and what should I do?
The text was updated successfully, but these errors were encountered:
Yes, it's a problem when learning a task with too many states in a system with not enough memory. Wander 12K has 12500 states, requiring more than 7GB RAM when preprocessing the QBIASSR algorithm at the beginning (not detected in 16GB system). You should try tasks with fewer states.
To solve this issue I added some code to check if the system runs out of memory. I also changed the default task back to Wander-1K.
When I run the code
rlrobot.run()
, there is something wrong with the following informationIs this a common problem and what should I do?
The text was updated successfully, but these errors were encountered: