allenai / allenai/procthor-rl

Training Terminated Due to missing task_id

Ouverte
#10 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
36
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi there! thank you for opening sourcing this work.

I am following the training and evaluation instructions, running
```
python -m procthor_objectnav.main \
experiment=procthor_objectnav/experiments/rgb_clipresnet50gru_ddppo \
agent=locobot \
target_object_types=robothor_habitat2022 \
machine.num_train_processes=12 \
machine.num_val_processes=1 \
ai2thor.platform=CloudRendering \
model.add_prev_actions_embedding=true \
callbacks=wandb_logging_callback \
seed=100 \
procthor.p_randomize_materials=0.8 \
wandb.project=$WANDB_PROJECT \
wandb.name=$WANDB_RUN_NAME \
wandb.project=$WANDB_PROJECT \
wandb.entity=$WANDB_ENTITY \
```

The training went well for 10 minutes and sudden stop because of
```
[05/05 13:28:56 ERROR:] Traceback (most recent call last):
File "/home/tsaisplus/miniconda3/envs/procthor-rl/lib/python3.9/site-packages/allenact/algorithms/onpolicy_sync/vector_sampled_tasks.py", line 986, in _task_sampling_loop_generator_fn
task_callback_data = callback_sensor_suite.get_observations(
File "/home/tsaisplus/miniconda3/envs/procthor-rl/lib/python3.9/site-packages/allenact/base_abstractions/sensor.py", line 131, in get_observations
return {
File "/home/tsaisplus/miniconda3/envs/procthor-rl/lib/python3.9/site-packages/allenact/base_abstractions/sensor.py", line 132, in
uuid: sensor.get_observation(env=env, task=task, **kwargs) # type: ignore
File "/home/tsaisplus/projects/procthor-rl/procthor_objectnav/callbacks/local_logging.py", line 78, in get_observation
f"{d}/ac-data/{task.task_info['id']}.txt",
KeyError: 'id'
[vector_sampled_tasks.py: 1083]
[05/05 13:28:56 INFO:] SingleProcessVectorSampledTask 0 closing. [vector_sampled_tasks.py: 1087]

```

It seems that 'id' key is missing from the task_info dictionary. Any intuition or solution on that?

Best regards
Yuxin

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.