Git Product home page Git Product logo

Comments (10)

R1ckShi avatar R1ckShi commented on June 25, 2024

能否详细描述一下问题,是一运行launch.py就会报错还是界面已经出来了但是点击按钮会报错?
以及是否配置了输出文件路径?

from funclip.

145319 avatar 145319 commented on June 25, 2024

能否详细描述一下问题,是一运行launch.py就会报错还是界面已经出来了但是点击按钮会报错? 以及是否配置了输出文件路径?

一运行就报这个错,根本起不起来。但是直接用窗口命令cmd,python funclip/launch.py可以运行,也可以浏览器访问端口显示界面,但是点裁剪+字幕按钮就会报同样的错误
Uploading 微信截图_20240513140137.png…

from funclip.

R1ckShi avatar R1ckShi commented on June 25, 2024

是需要在命令行中通过python指令运行的,windows下imagemagick的安装与环境变量的配置还没有能成功的方法,所以裁剪+字幕可能依然会遇到错误
上面的截图看不到,可以直接复制报错信息

from funclip.

145319 avatar 145319 commented on June 25, 2024

是需要在命令行中通过python指令运行的,windows下imagemagick的安装与环境变量的配置还没有能成功的方法,所以裁剪+字幕可能依然会遇到错误 上面的截图看不到,可以直接复制报错信息

D:\conda\envs\funclip\python.exe D:\python-projects\FunClip\funclip\launch.py
Notice: ffmpeg is not installed. torchaudio is used to load audio
If you want to use ffmpeg backend to load audio, please install it by:
sudo apt install ffmpeg # ubuntu
# brew install ffmpeg # mac
2024-05-13 10:20:55,543 - modelscope - INFO - PyTorch version 2.3.0 Found.
2024-05-13 10:20:55,545 - modelscope - INFO - Loading ast index from d:\Users\SC20003197.cache\modelscope\ast_indexer
2024-05-13 10:20:55,755 - modelscope - INFO - Loading done! Current index file version is 1.14.0, with md5 1648640505d7a22ec7b73aead5874ed2 and a total number of 976 components indexed
2024-05-13 10:20:56,468 - modelscope - WARNING - Using the master branch is fragile, please use it with caution!
2024-05-13 10:20:56,468 - modelscope - INFO - Use user-specified model revision: master
ckpt: d:\Users\SC20003197.cache\modelscope\hub\iic\speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch\model.pt
2024-05-13 10:21:23,584 - modelscope - WARNING - Using the master branch is fragile, please use it with caution!
2024-05-13 10:21:23,584 - modelscope - INFO - Use user-specified model revision: master
ckpt: d:\Users\SC20003197.cache\modelscope\hub\damo\speech_fsmn_vad_zh-cn-16k-common-pytorch\model.pt
2024-05-13 10:21:24,905 - modelscope - WARNING - Using the master branch is fragile, please use it with caution!
2024-05-13 10:21:24,906 - modelscope - INFO - Use user-specified model revision: master
ckpt: d:\Users\SC20003197.cache\modelscope\hub\damo\punc_ct-transformer_zh-cn-common-vocab272727-pytorch\model.pt
2024-05-13 10:21:30,117 - modelscope - WARNING - Using the master branch is fragile, please use it with caution!
2024-05-13 10:21:30,118 - modelscope - INFO - Use user-specified model revision: master
Detect model requirements, begin to install it: d:\Users\SC20003197.cache\modelscope\hub\damo\speech_campplus_sv_zh-cn_16k-common\requirements.txt
Traceback (most recent call last):
File "D:\conda\envs\funclip\lib\site-packages\funasr\utils\install_model_requirements.py", line 6, in install_requirements
result = subprocess.run(
File "D:\conda\envs\funclip\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\conda\envs\funclip\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\conda\envs\funclip\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\python-projects\FunClip\funclip\launch.py", line 15, in
funasr_model = AutoModel(model="iic/speech_seaco_paraformer_large_asr_nat-zh-cn-16k-common-vocab8404-pytorch",
File "D:\conda\envs\funclip\lib\site-packages\funasr\auto\auto_model.py", line 147, in init
spk_model, spk_kwargs = self.build_model(**spk_kwargs)
File "D:\conda\envs\funclip\lib\site-packages\funasr\auto\auto_model.py", line 168, in build_model
kwargs = download_model(**kwargs)
File "D:\conda\envs\funclip\lib\site-packages\funasr\download\download_from_hub.py", line 11, in download_model
kwargs = download_from_ms(**kwargs)
File "D:\conda\envs\funclip\lib\site-packages\funasr\download\download_from_hub.py", line 86, in download_from_ms
install_requirements(requirements)
File "D:\conda\envs\funclip\lib\site-packages\funasr\utils\install_model_requirements.py", line 22, in install_requirements
result = subprocess.run(
File "D:\conda\envs\funclip\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\conda\envs\funclip\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\conda\envs\funclip\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

Process finished with exit code 1

from funclip.

R1ckShi avatar R1ckShi commented on June 25, 2024

使用裁剪按钮能否进行没有字幕的裁剪?
如果使用裁剪按钮没有问题,那么应该可以确定是imagemagick在windows环境上的问题

from funclip.

145319 avatar 145319 commented on June 25, 2024

使用裁剪按钮能否进行没有字幕的裁剪? 如果使用裁剪按钮没有问题,那么应该可以确定是imagemagick在windows环境上的问题

可以进行没有字幕的裁剪,这个没有问题。但是可以考虑替换掉imagemagick吗?或者兼容处理一下

from funclip.

zzk2021 avatar zzk2021 commented on June 25, 2024

我也遇到了这个问题

from funclip.

R1ckShi avatar R1ckShi commented on June 25, 2024

正在寻找windows下imagemagick的替代方案:)

from funclip.

zzk2021 avatar zzk2021 commented on June 25, 2024

改下Lib\site-packages\moviepy\config_defaults.py 里IMAGEMAGICK_BINARY的路径就行了。改成imagemagick的exe路径

from funclip.

R1ckShi avatar R1ckShi commented on June 25, 2024

改下Lib\site-packages\moviepy\config_defaults.py 里IMAGEMAGICK_BINARY的路径就行了。改成imagemagick的exe路径

感谢反馈

from funclip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.