GithubHelp home page GithubHelp logo

Comments (12)

tastelikefeet avatar tastelikefeet commented on August 19, 2024

可以使用:

from modelscope import snapshot_download
snapshot_download('some-model-id')

之后运行时不会重复下载模型了

from facechain.

66li avatar 66li commented on August 19, 2024

如果容器化的话怎么配置呢,比如我只对/data/的数据做持久化,怎么让所有的模型都放到/data呢

from facechain.

yingdachen avatar yingdachen commented on August 19, 2024

如果容器化的话怎么配置呢,比如我只对/data/的数据做持久化,怎么让所有的模型都放到/data呢

配置MODELSCOPE_CACHE环境变量即可

from facechain.

66li avatar 66li commented on August 19, 2024

MODELSCOPE_CACHE中也会有第一次用图片训练出来的产品吗

from facechain.

66li avatar 66li commented on August 19, 2024

就是人脸LoRA模型

from facechain.

yinjianjie avatar yinjianjie commented on August 19, 2024

模型手动下载后,应该放在哪个目录下,发现还是会重新下载

from facechain.

sunbaigui avatar sunbaigui commented on August 19, 2024

we'll work on it, thanks for your advise and suggestion.

from facechain.

GeneLiuXe avatar GeneLiuXe commented on August 19, 2024

Same problem, need a tutorial for downloading models manually.

from facechain.

sunbaigui avatar sunbaigui commented on August 19, 2024

Same problem, need a tutorial for downloading models manually.

@wangxingjun778 please check this out and reply it once you have a time :)

from facechain.

livehl avatar livehl commented on August 19, 2024

env MODELSCOPE_CACHE=/root/.cache/modelscope
创建容器的时候映射/root/.cache/即可。
pip、hf 默认都会从/root/.cache/读。

from facechain.

xyxxmb avatar xyxxmb commented on August 19, 2024

人脸识别模型:damo/cv_ir_face-recognition-ood_rts 需要依赖人脸检测模型:damo/cv_ddsar_face-detection_iclr23-damofd,我把人脸识别模型下载好了并修改成本地路径 /home/xxx/xxxx,也想修改人脸检测模型的本地路径,我应该怎么在外层指定这个检测模型的本地路径?

from facechain.

sunbaigui avatar sunbaigui commented on August 19, 2024

人脸识别模型:damo/cv_ir_face-recognition-ood_rts 需要依赖人脸检测模型:damo/cv_ddsar_face-detection_iclr23-damofd,我把人脸识别模型下载好了并修改成本地路径 /home/xxx/xxxx,也想修改人脸检测模型的本地路径,我应该怎么在外层指定这个检测模型的本地路径?

we will set this a new feature. currently we can not support this.

from facechain.

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.