Skip to content

Conversation

@Devininthelab
Copy link
Collaborator

Before you open a pull-request, please check if a similar issue already exists or has been closed before.

When you open a pull-request, please be sure to include the following

  • A descriptive title: [xxx] XXXX
  • A detailed description

If you meet the lint warnings, you can use following scripts to reformat code.

pip install pre-commit
pre-commit install
pre-commit run --all-files

Thank you for your contributions!

@Devininthelab
Copy link
Collaborator Author

@kcz358 Hi I fixed the issue you mentioned. Please check again for me.

except:
eval_logger.debug("")
from moviepy.video.io.VideoFileClip import VideoFileClip
import moviepy.editor as mp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, may I ask which version of moviepy you are using. I think for higher level moviepy, it is better to import it with direct import. See issue

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi I'm using moviepy==1.0.3. I also encountered the same problem when first integrated videos for Ola, and solve by just reinstall it.

pip uninstall moviepy
pip install moviepy==1.0.3

I also fixed the import. Please help me check it.


def extract_audio(self, videos_file_path):
my_clip = VideoFileClip(videos_file_path)
my_clip = mp.VideoFileClip(videos_file_path)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly check my comments above for moviepy

Copy link
Collaborator

@kcz358 kcz358 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Devininthelab , can you help me to check about the moviepy issue? Thanks!

@kcz358
Copy link
Collaborator

kcz358 commented Feb 28, 2025

Hi @Devininthelab , I changes a bit on the image and audio processing logic because I spotted some bugs in some cases. Feel free to check if it is correct and then I will merge the PR. Thanks!

@kcz358 kcz358 merged commit 9310d89 into main Mar 1, 2025
2 checks passed
@kcz358 kcz358 deleted the dev/fix/Ola branch March 1, 2025 02:30
@Devininthelab
Copy link
Collaborator Author

Hi I think it's okay. I got a hackathon yesterday so I forgot to check the code.

MichalCiesiolka pushed a commit to MichalCiesiolka/lmms-eval-llmzszl that referenced this pull request Apr 3, 2025
* Fix Ola path for GPUs

* Fix moviepy

* Fix multi image and audio type issue

---------

Co-authored-by: kcz358 <[email protected]>
dadwadw233 pushed a commit to dadwadw233/lmms-eval that referenced this pull request Apr 28, 2025
* Fix Ola path for GPUs

* Fix moviepy

* Fix multi image and audio type issue

---------

Co-authored-by: kcz358 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants