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.

Error in mos_prediction (for finding file `system_mos_all_trackwise.csv`)

See original GitHub issue

Hi there,

I got an error while trying to execute mos_prediction downstream. The error said,

FileNotFoundError: [Errno 2] No such file or directory: '/groups/gac50538/VCC/VCC_2018/VCC2018_Results/system_mos_all_trackwise.csv'

After inspecting, the error is caused by the following lines in expert file.

https://github.com/s3prl/s3prl/blob/2bfd8485c2ba84654c993abf689621200acc6060/s3prl/downstream/mos_prediction/expert.py#L47-L51

That file (system_mos_all_trackwise.csv) is not given in the original dataset. So, I thought the authors make a script to generate that csv file from the data in the VCC 2018 dataset.

Also, the README in the mos_prediction is not complete and it differs from the current downloaded VCC databases for both 2016 and 2018 versions. The unzipped folder names are not the same per README. In the future, it will be better to provide a py file for preprocessing the dataset in the given path as in other downstream folders.

Any help will be highly appreciated, @RayTzeng ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
leo19941227commented, Jan 26, 2022

Hi,

Just to keep you updated. @RayTzeng is now working on preparing the csv file, and will push new commits to fix this soon. Thanks for reporting!

1reaction
bagustriscommented, Feb 2, 2022

Thanks @RayTzeng for the fix!

I am confirming now mos_prediction downstream works without any issues after PR #287. The only specific requirement is it needs to be run on python3.8 (or maybe higher, but not lower, due to initial argument in itertools’s accumulate, the error happens in lower python version if this argument is skipped).

I will close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I find error when Predictive Insights moves a CSV ...
I installed the Predictive Insights 1.3.6 release and ran the PI 1.3.5 tutorial data through the system. All the CSV files that make...
Read more >
SFTP Syncs: Troubleshooting CSV formatting errors
Check that the file is in CSV format. The following file includes missing commas: [file] [lines], Ensure there are no missing commas in...
Read more >
Generic errors from uploading and published CSV files as ...
In some instances, generic errors occur when CSV files are uploaded or published as hosted feature layers in ArcGIS Online or Portal for ......
Read more >
django - how show error message csv file does not exist
You can check if it exists the file: import os if not os.path.exists(filename): print("Please write the correct csv file name").
Read more >
Read CSV: Could not find file erro - Activities
Hey guys. I'm developing a robot that takes the last downloaded download from a folder and converts this file into xls (original file...
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