Errors in Mosei downstream
See original GitHub issueHi @andi611 ,
I try running mosei downstream but hit into several errors. I fixed one by adding :
def get_dataloader(self, mode):
return eval(f'self.get_{mode}_dataloader')()
where it was an assert problem. The new one I face is :
train: 0%| | 0/34 [00:01<?, ?it/s]
Traceback (most recent call last): | 0/34 [00:00<?, ?it/s]
File "run_downstream.py", line 195, in <module>
main()
File "run_downstream.py", line 191, in main
eval(f'runner.{args.mode}')()
File "/speech/srayan/icassp_toxic/s3prl/s3prl/downstream/runner.py", line 220, in train
records = records,
File "/speech/srayan/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
TypeError: forward() got multiple values for argument 'records'
Amy possible solution to this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Distribution of absolute error when testing BBFN and MISA on ...
Distribution of absolute error when testing BBFN and MISA on CMU-MOSEI dataset. ... Figure 1: Task formulation of the multimodal sentiment analysis and...
Read more >Sentiment Analysis and Emotion Recognition from Speech ...
The downstream was the 'mosei' task with “ num_class ” values of either 2, 3, 6, or 7. The configuration “ num_class:6 ”...
Read more >CMU-MOSEI Dataset and Interpretable Dynamic Fusion Graph
This paper introduces CMU Multimodal Opinion Sentiment and Emotion Intensity (CMU-MOSEI), the largest dataset of sentiment analysis and emotion recognition ...
Read more >arXiv:2109.00412v2 [cs.CL] 16 Sep 2021
In this work, we propose a framework named. MultiModal InfoMax (MMIM), which hier- archically maximizes the Mutual Information. (MI) in unimodal ...
Read more >Unsupervised Multimodal Language Representations using ...
Extensive experimentation on Sentiment Analysis (MOSEI) and Emotion ... with just the use of a Logistic Regression algorithm for downstream classification.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This code contains a line or two custom for my work, however a diff would easily tell you the lines that need to be changed. I will raise a PR by the end of next week. Thank You!
@bagustris Glad this helped! I also want to make it DDP compatible so working on that in parallel and will raise a combined pull request!