Loading
0 Follower
0 Following
CH_do

Badges

1
0
0

Activity

Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Mon
Wed
Fri

Ratings Progression

Loading...

Challenge Categories

Loading...

Challenges Entered

Using AI For Building’s Energy Management

Latest submissions

No submissions made in this challenge.

Interactive embodied agents for Human-AI collaboration

Latest submissions

See All
graded 196797
graded 196590
failed 196570

Latest submissions

See All
graded 156950
failed 156948
graded 156911

Sample-efficient reinforcement learning in Minecraft

Latest submissions

No submissions made in this challenge.

Use an RL agent to build a structure with natural language inputs

Latest submissions

See All
graded 196797
graded 196590
failed 196570
Participant Rating
Participant Rating

NeurIPS 2022 IGLU Challenge

Is it ok to directly wrap the gym env in `create_single_env` in local_evaluation.py when evaluating the model in aicrowd?

Over 2 years ago

Hi, sorry to bother you again.
What’s the difference between the local evaluator and the actual one? It seems that the performance evaluated in the actual has a huge drop than in local. (LIMIT_TASKS has been changed to None in LocalEvalConfig)

Is it ok to directly wrap the gym env in `create_single_env` in local_evaluation.py when evaluating the model in aicrowd?

Over 2 years ago

The done is always reset to False when one episode ends in evaluate in local_evalutor.py.

Is it ok to directly wrap the gym env in `create_single_env` in local_evaluation.py when evaluating the model in aicrowd?

Over 2 years ago

Thanks for your reply.
Some feature processing methods like stacking the recent k frames need to clear some historical data when the env is reset. However, in the current evaluation framework, it is hard to do this. This problem can be solved if another parameter, such as a bool variable is_first_obs indicating whether the env is reset, is allowed to be passed into agent.act.

Is the `agentPos` and `grid` available during evaluation in aicrowd?

Over 2 years ago

It seems that in local_evaluation.py the agentPos and grid are available because vector_state=True passed into gridworld. However, these two keys are missed when I submitted my code to the aicrowd:

Traceback (most recent call last):
  File "client_launcher.py", line 20, in <module>
    start_test_client()
  File "client_launcher.py", line 17, in start_test_client
    client.run_agent()
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 198, in run_agent
    kwargs=kwargs,
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 100, in process_request
    action, target_attribute, instance_id, args, kwargs
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 129, in route_agent_request
    return self.execute(target_attribute, *args, **kwargs)
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/aicrowd_gym/clients/base_oracle_client.py", line 142, in execute
    return method(*args, **kwargs)
  File "/home/aicrowd/agents/aicrowd_wrapper.py", line 39, in register_reset
    return self.compute_action(observation)
  File "/home/aicrowd/agents/aicrowd_wrapper.py", line 43, in compute_action
    return self.agent.act(*observation,)
  File "/home/aicrowd/agents/vector_agent.py", line 29, in act
    action, early_termination = agent.act( obs, rew, done, info)
  File "/home/aicrowd/agents/iglu_agent.py", line 327, in act
    if (observation['agentPos'] == 0).all():
KeyError: 'agentPos'

Is it ok to directly wrap the gym env in `create_single_env` in local_evaluation.py when evaluating the model in aicrowd?

Over 2 years ago

If I need to process the obs and reset some data when env.reset() is called, is it ok to directly wrap the env with my own-defined wrapper in create_single_env function in local_evaluation.py?

CH_do has not provided any information yet.