Comments (10)
能否详细描述一下问题,是一运行launch.py就会报错还是界面已经出来了但是点击按钮会报错?
以及是否配置了输出文件路径?
from funclip.
能否详细描述一下问题,是一运行launch.py就会报错还是界面已经出来了但是点击按钮会报错? 以及是否配置了输出文件路径?
一运行就报这个错,根本起不起来。但是直接用窗口命令cmd,python funclip/launch.py可以运行,也可以浏览器访问端口显示界面,但是点裁剪+字幕按钮就会报同样的错误
from funclip.
是需要在命令行中通过python指令运行的,windows下imagemagick的安装与环境变量的配置还没有能成功的方法,所以裁剪+字幕可能依然会遇到错误
上面的截图看不到,可以直接复制报错信息
from funclip.
是需要在命令行中通过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.
使用裁剪按钮能否进行没有字幕的裁剪?
如果使用裁剪按钮没有问题,那么应该可以确定是imagemagick在windows环境上的问题
from funclip.
使用裁剪按钮能否进行没有字幕的裁剪? 如果使用裁剪按钮没有问题,那么应该可以确定是imagemagick在windows环境上的问题
可以进行没有字幕的裁剪,这个没有问题。但是可以考虑替换掉imagemagick吗?或者兼容处理一下
from funclip.
我也遇到了这个问题
from funclip.
正在寻找windows下imagemagick的替代方案:)
from funclip.
改下Lib\site-packages\moviepy\config_defaults.py 里IMAGEMAGICK_BINARY的路径就行了。改成imagemagick的exe路径
from funclip.
改下Lib\site-packages\moviepy\config_defaults.py 里IMAGEMAGICK_BINARY的路径就行了。改成imagemagick的exe路径
感谢反馈
from funclip.
Related Issues (20)
- 安装时候找不到文件 HOT 4
- 这个是需要配置openai账号吗 HOT 1
- 微信群满了
- "None" appears on the subtitle timeline HOT 1
- 🌟 太惊喜!无需专业知识,快速科学上网的小技巧大公开
- gradio试用问题 HOT 2
- features: 希望对识别出来的文本进行分段 HOT 2
- Exception in ASGI application Traceback (most recent call last): File "D:\lq\anaconda3\envs\Funclip\lib\site-packages\gradio\queueing.py", line 223, in push event_queue = self.event_queue_per_concurrency_id[event.concurrency_id] KeyError: '2760507316400' HOT 1
- cli模式--sd_switch参数错误 HOT 1
- 裁剪+字幕报错 HOT 1
- #可以分割多少个,超过6个就不行,还是文本限制了多少 HOT 6
- 出现[WinError 3]并不是config_defaults.py没有配置好,原因不得而解。 HOT 6
- 目前支持的大语言模型列表 HOT 2
- 报bug HOT 1
- 可以将音频转字幕吗 HOT 1
- Error running demo sample data type.
- 用哪个版本?moviepy 已经安装了,但是报错 HOT 1
- 可以加解说吗 HOT 1
- 多人会话没有进行人员区分 HOT 2
- TypeError: 'NoneType' object is not subscriptable 大佬求解 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funclip.