githwd2016 / mate Goto Github PK
View Code? Open in Web Editor NEWSource code for multimodal dialogue systems with semantic elements (MATE, He et al., 2020).
Source code for multimodal dialogue systems with semantic elements (MATE, He et al., 2020).
When I run your training after filling some parameters for the configure-json file, there is an issue in loading image features, which leads to inconsistent dimensions, as below,
The code is from (widget/module.py/class Eb) as below [ def forward(self, src_input, src_pos, src_turn, src_speaker, image_input, image_pos, image_turn, image_speaker): # text_input, text_pos, text_turn, text_speaker, image_turn, image_speaker = (bs, text_len) # image_input = (bs, image_len, image_in_size) text_outputs = self.src_token_emb(src_input) + self.src_token_emb(src_turn) + \ self.src_token_emb(src_speaker) + self.position_enc(src_pos) # (bs, text_len, embedding_size) image_outputs = self.image_layer(image_input) + self.src_token_emb(image_turn) + \ self.src_token_emb(image_speaker) + self.src_token_emb(image_pos) # (bs, image_len, embedding_size) return text_outputs, image_outputs](url)
, where the four items cannot sum up due to in consistent feature dimensions.
Thanks a lot for your instruction in the dev-branch.
May I know the "requirements.txt", which is your environment configure?
At least, it will be much helpful to tell us your PyTorch version.
Hi,
When will the code be available
Thx
May I ask where the second-stage decoder (contains style-tips and cel_preference) is, because it seems that current code dosen't contain it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.