mlii0117 / FFA-IR

The official start-up code for paper "FFA-IR: Towards an Explainable and Reliable Medical Report Generation Benchmark."
MIT License
43 stars 2 forks source link

File "/DATA1/Chiranjeev/COL828_Project/FFA-IR/code/modules/encoder_decoder.py", line 46, in forward return self.decode(self.encode(src, src_mask), src_mask, tgt, tgt_mask) File "/DATA1/Chiranjeev/COL828_Project/FFA-IR/code/modules/encoder_decoder.py", line 52, in decode return self.decoder(self.tgt_embed(tgt), hidden_states, src_mask, tgt_mask) File "/home/euclid/venv/torch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) TypeError: forward() missing 1 required positional argument: 'memory' #4

Closed aryachiranjeev closed 1 year ago

aryachiranjeev commented 1 year ago

Got this error, please help to solve this.

Thanks

mlii0117 commented 1 year ago

Will update the code and let you know soon.

mlii0117 commented 1 year ago

Done, plz git the code again.