Giter Club home page Giter Club logo

Comments (2)

haihuangcode avatar haihuangcode commented on August 20, 2024

谢谢你的提问。CPC.py里面有2个类,分别是Cross_CPC和Cross_CPC_AVT,前者是用于2个模态(比如audio-video、audio-text、video-text)等,后者是用于3个模态,pretrain.py第599行默认用的Cross_CPC_AVT,如果你需要用Cross_CPC的话可以仿照这修改下输入,把pretrain.py第599行里的text_semantic_result去掉,以及pretrain.sh里的dataset_name更改成‘vggsound_AT’等,别的地方可能也有需要调整输入输出的,因为代码默认用的3模态,对照着修改就行。如果给你造成了麻烦我很抱歉。

from cmg.

RXin-he avatar RXin-he commented on August 20, 2024

谢谢你的提问。CPC.py里面有2个类,分别是Cross_CPC和Cross_CPC_AVT,前者是用于2个模态(比如audio-video、audio-text、video-text)等,后者是用于3个模态,pretrain.py第599行默认用的Cross_CPC_AVT,如果你需要用Cross_CPC的话可以仿照这修改下输入,把pretrain.py第599行里的text_semantic_result去掉,以及pretrain.sh里的dataset_name更改成‘vggsound_AT’等,别的地方可能也有需要调整输入输出的,因为代码默认用的3模态,对照着修改就行。如果给你造成了麻烦我很抱歉。

好的,感谢🙏

from cmg.

Related Issues (10)

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.