Comments (6)
thank you for reporting the issue. this is a known regession that is caused by our last release, a fix will be available this week.
from modelscope.
thank you for reporting the issue. this is a known regession that is caused by our last release, a fix will be available this week.
Thanks! I have updated modelscope, the new issue generate:
from modelscope.
thank you for reporting the issue. this is a known regession that is caused by our last release, a fix will be available this week.
try to delete the local model cache and run it again?
from modelscope.
please delete the entire local model cache folder:
and try again
from modelscope.
please delete the entire local model cache folder:
and try again
Yes, it works. After I assign path to 'damo/cv_resnet_facedetection_scrfd10gkps', it is normal. But it is so strange. When I run the following code, it also works.
from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks
p = pipeline('face-detection', 'cache_dir/damo/cv_resnet_facedetection_scrfd10gkps')
result = p('face_detection.png',)
print(result)
from modelscope.
for this code
p = pipeline('face-detection', 'cache_dir/damo/cv_resnet_facedetection_scrfd10gkps')
the second parameter is model_id_or_model_dir, when model id (damo/cv_resnet_facedetection_scrfd10gkps) is supplied, it will fetch the correct version of the model from modelscope hub, when a local model_dir is provided, it will use the local dir path, in this case, user would be responsbile for enesuring that the correct version of modelscope library is used for the model dir.
from modelscope.
Related Issues (20)
- RexUniNLU模型多线程调用报错 HOT 2
- 在用pyinstaller打包代码报错,但是验证内置模型就没问题KeyError: 'speech_dfsmn_kws_char_farfield is not in the pipelines registry group keyword-spotting. Please make sure the correct version of ModelScope library is used.' HOT 4
- 发大头脑的疯狗进来
- Englishfriend.ly HOT 4
- face_detection和face_2d_keypoints不支持cv2读取图片后的numpy.ndarray格式 HOT 1
- strongly depends on transformers
- Tasks.image_segmentation Error HOT 1
- Run from modelscope.pipelines import pipeline met error on the latest modelscope HOT 1
- UniASR models don't work with the latest version HOT 1
- 上传模型的时候,LFS track 的内容无法上传 HOT 5
- BERT-语义对话预测模型预测问题 HOT 1
- 有没有零样本训练的技术细节,要怎么在自己的数据集训练 HOT 2
- refine error report when model id is wrong using snapshot_download
- cpu memory leak HOT 2
- Outdated Warning Message HOT 2
- push_hub got error: Message': '创建模型失败,信息:record not found', HOT 1
- 下载Tongyi-DataEngine/SA1B-Dense-Caption数据集,执行网页上命令from modelscope.msdatasets import MsDataset ds = MsDataset.load('Tongyi-DataEngine/SA1B-Dense-Caption', subset_name='default', split='train'),modelscope版本:1.14.0,提示错误:TypeError: Value.__init__() missing 1 required positional argument: 'dtype' HOT 5
- ModelScope使用的,编码助手智能体 HOT 2
- Model.from_petrained后面模型路径我填的是本地模型的文件夹,一直Process finished with exit code -1073741819 (0xC0000005),是参数不对的问题吗? HOT 1
- Config file should not be None if model is not from pretrained! HOT 1
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 modelscope.