Traceback (most recent call last):
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.6.3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.6.3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/scratch/johnmg/dev/saber/saber/train.py", line 44, in <module>
main()
File "/scratch/johnmg/dev/saber/saber/train.py", line 31, in main
sp.create_model()
File "/scratch/johnmg/dev/saber/saber/sequence_processor.py", line 287, in create_model
model.compile_()
File "/scratch/johnmg/dev/saber/saber/models/multi_task_lstm_crf.py", line 201, in compile_
crf_loss_function = self.model[i].layers[-1].loss_function
AttributeError: 'Concatenate' object has no attribute 'loss_function'
Looks like this is to do with the way I try to grab the CRF loss function. This raises other questions though, like do I need to grab the loss-function on a per model basis? or simply grab it once?