Git Product home page Git Product logo

Comments (6)

yingdachen avatar yingdachen commented on July 18, 2024

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.

HYL-Dave avatar HYL-Dave commented on July 18, 2024

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:
螢幕快照 2023-01-06 11-52-17
螢幕快照 2023-01-06 11-53-24

from modelscope.

wenmengzhou avatar wenmengzhou commented on July 18, 2024

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: 螢幕快照 2023-01-06 11-52-17 螢幕快照 2023-01-06 11-53-24

try to delete the local model cache and run it again?

from modelscope.

yingdachen avatar yingdachen commented on July 18, 2024

please delete the entire local model cache folder:

image

and try again

from modelscope.

HYL-Dave avatar HYL-Dave commented on July 18, 2024

please delete the entire local model cache folder:

image

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.

yingdachen avatar yingdachen commented on July 18, 2024

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)

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.