Closed manithaenthiran closed 3 years ago
Hi @manithaenthiran, I could not repro this error. Could you try again on latest master? Do you mean the datasets did not get downloaded to ~/droidlet/craftassist/agent/datasets/
?
If you are still encountering this issue on master, I will need more information to debug:
Player data file not found for bot.3322508.94 (72393036f60f32ab881e86281c7b5dbd, offline 72393036f60f32ab881e86281c7b5dbd (unused)), will be reset to defaults.
Anyone have any idea what this means? I downloaded all the data sets and there is also a thing that asks me to update the models and data. I can see the bot, but it is not responding to me.
On the window where I am updating the stuff, I am getting this message (the datasets directory is not there):
initializing decoder with params Namespace(alpha=0.8, batch_size=56, data_dir='./python/craftassist/datasets/annotated_data/', decoder_config_name='bert-base-uncased', decoder_learning_rate=1e-05, decoder_warmup_steps=1000, dtype_samples='[["templated",0.35],["templated_filters",0.05],["annotated",0.6]]', encoder_dropout=0.01, encoder_learning_rate=1e-05, encoder_warmup_steps=1000, examples_per_epoch=-1, hard=True, lambda_span_loss=0.5, model_name='caip_parser', node_label_smoothing=0.0, num_decoder_layers=6, num_epochs=8, num_highway=2, optimizer='adam', optional_identifier='', output_dir='', param_update_freq=1, pretrained_encoder_name='distilbert-base-uncased', rephrase_proba=-1.0, span_label_smoothing=0.0, train_encoder=True, tree_to_text=False, tree_voc_file='craftassist/agent/models/semantic_parser/ttad_bert_updated/caip_test_model_tree.json', word_dropout=0.0) Traceback (most recent call last): File "./python/craftassist/craftassist_agent.py", line 344, in
sa = CraftAssistAgent(opts)
File "./python/craftassist/craftassist_agent.py", line 72, in init
super(CraftAssistAgent, self).init(opts)
File "/craftassist/python/craftassist/../base_agent/loco_mc_agent.py", line 26, in init
super(LocoMCAgent, self).init(opts, name=self.name)
File "/craftassist/python/craftassist/../base_agent/core.py", line 12, in init
self.init_controller()
File "./python/craftassist/craftassist_agent.py", line 119, in init_controller
self.dialogue_manager = NSPDialogueManager(self, dialogue_object_classes, self.opts)
File "/craftassist/python/craftassist/../base_agent/nsp_dialogue_manager.py", line 113, in init
self.ground_truth_actions[clean_text] = json.loads(logical_form)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)