Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

"true label missing from candidate labels" in QACNN and QADailyMail #168

Closed
filipeabperes opened this issue Jun 26, 2017 · 3 comments
Closed
Assignees
Labels

Comments

@filipeabperes
Copy link

[download_path:/Users/filipeabperes/ParlAI/downloads]
[datatype:train]
[image_mode:raw]
[numthreads:1]
[batchsize:1]
[datapath:/Users/filipeabperes/ParlAI/data]
[model:repeat_label]
[model_file:None]
[dict_class:None]
[evaltask:None]
[display_examples:False]
[num_epochs:1]
[max_train_time:inf]
[log_every_n_secs:1]
[validation_every_n_secs:0]
[validation_patience:5]
[dict_build_first:True]
[parlai_home:/Users/filipeabperes/ParlAI]
[creating task(s): qacnn]
[loading fbdialog data:/Users/filipeabperes/ParlAI/data/QACNN/train.txt]
[ training... ]
Traceback (most recent call last):
  File "train_model.py", line 161, in <module>
    main()
  File "train_model.py", line 106, in main
    world.parley()
  File "/Users/filipeabperes/ParlAI/parlai/core/worlds.py", line 236, in parley
    acts[0] = agents[0].act()
  File "/Users/filipeabperes/ParlAI/parlai/core/dialog_teacher.py", line 130, in act
    action, self.epochDone = self.next_example()
  File "/Users/filipeabperes/ParlAI/parlai/core/dialog_teacher.py", line 115, in next_example
    action, epoch_done = self.data.get(self.episode_idx, self.entry_idx)
  File "/Users/filipeabperes/ParlAI/parlai/core/dialog_teacher.py", line 294, in get
    raise RuntimeError('true label missing from candidate labels')
RuntimeError: true label missing from candidate labels```
@filipeabperes filipeabperes self-assigned this Jun 26, 2017
@jaseweston
Copy link
Contributor

what was the command?

@filipeabperes
Copy link
Author

filipeabperes commented Jun 26, 2017

python train_model.py -m repeat_label -t qacnn

I'm fixing this now, apparently its a problem with how the fb format is built from the dataset

@filipeabperes
Copy link
Author

The data builder was ignoring last line which sometimes included correct label.

This was happening both on QACNN and QADailyMail

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants