question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors in Mosei downstream

See original GitHub issue

Hi @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:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Sreyan88commented, Oct 16, 2021

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!

0reactions
Sreyan88commented, Oct 18, 2021

@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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found