Coder Social home page Coder Social logo

Comments (3)

WentianZhang-ML avatar WentianZhang-ML commented on May 29, 2024

Hi, thanks for trying our work.
About your question, you are right. The architecture of GAT is related to batch size. If you use GAT as the cross-modal adapter, the batch size must be the same in the training and testing phase. But you can copy 1 sample to 32 in the channel-wise to continue the test and prediction when you trained the model with a batch size of 32.

from frt-pad.

Wei-Baldwin-Zeng avatar Wei-Baldwin-Zeng commented on May 29, 2024

Hi, thanks for trying our work. About your question, you are right. The architecture of GAT is related to batch size. If you use GAT as the cross-modal adapter, the batch size must be the same in the training and testing phase. But you can copy 1 sample to 32 in the channel-wise to continue the test and prediction when you trained the model with a batch size of 32.

Thank you so much for your quick response. But why should the GAT is related to batch size? As I understand, multiple batches in deep learning are just for speed up the training process, now the GAT seems to reshape the multiple batches to one huge batch, does it not support multiple batches for training? Or is there any way that I can also change the architecture of GAT so that it is not related to batch size.

Again, very wonderful work. Hope to hear your response.

from frt-pad.

WentianZhang-ML avatar WentianZhang-ML commented on May 29, 2024

Sorry for the late response. There was another way to support multiple batches, but we didn't find it until a year after we completed the project. You can refer to the solution in the https://github.com/Diego999/pyGAT/issues/36. But we have not tried it out. Please let me know if it works with our method after you use it!

from frt-pad.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.