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
The following commands result in an AttributeError: module 'reagent.gym.tests.test_gym' has no attribute 'run_test’ because the module test_gym does not exist.
export CONFIG=reagent/gym/tests/configs/cartpole/discrete_dqn_cartpole_online.yaml
./reagent/workflow/cli.py run reagent.gym.tests.test_gym.run_test $CONFIG
Even when I try to run one of the existing modules like run_test_online_episode I get a KeyError: 'state_features'...float_features=batch[InputColumn.STATE_FEATURES]
Here is the full command:
./reagent/workflow/cli.py run reagent.gym.tests.test_gym.run_test_online_episode $CONFIG
On further trying the batch RL example the first command running the offline_gym module works fine. However, the second command running the timeline_operator errors out with java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2. Here are the full commands that I ran:
export CONFIG=reagent/workflow/sample_configs/discrete_dqn_cartpole_offline.yaml
./reagent/workflow/cli.py run reagent.workflow.gym_batch_rl.offline_gym $CONFIG
./reagent/workflow/cli.py run reagent.workflow.gym_batch_rl.timeline_operator $CONFIG
I was having the same issue, and after looking through test_gym.py code change history, I believe run_test was renamed run_test_replay_buffer. I tried:
./reagent/workflow/cli.py run reagent.gym.tests.test_gym.run_test_replay_buffer $CONFIG
The following commands result in an
AttributeError: module 'reagent.gym.tests.test_gym' has no attribute 'run_test’
because the moduletest_gym
does not exist.See full stacktrace here.
Even when I try to run one of the existing modules like
run_test_online_episode
I get aKeyError: 'state_features'...float_features=batch[InputColumn.STATE_FEATURES]
Here is the full command:
See full stacktrace here
On further trying the batch RL example the first command running the
offline_gym
module works fine. However, the second command running thetimeline_operator
errors out withjava.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
. Here are the full commands that I ran:See full stacktrace here
Here are my environment details:
Hardware: Apple M1
OS: Big Sur 11.2
Anaconda Python 3.7
JRE Details
ReAgent master branch cloned on 4/23.
I had to install a later version of OpenAI gym (0.18.0) because of compatibility issues with M1.
The text was updated successfully, but these errors were encountered: