Comments (2)
谢谢你的提问。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.
谢谢你的提问。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)
- FileNotFoundError: [Errno 2] No such file or directory: 'vggsoundCategories2Prompts.csv' HOT 2
- 三种模态的特征序列长度都不同,怎么修改Cross_VQEmbeddingEMA_AVT模块 HOT 4
- self.audio_semantic_decoder and self.Audio_decoder HOT 1
- encoders design question HOT 2
- Train on my own dataset HOT 3
- 关于训练过程中的lld_loss和mi_loss HOT 7
- code/src/model/main_model_2.py, line 790 HOT 1
- embedding updated in MM_EMA HOT 3
- 关于预先对齐过的特征 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmg.