一般网站用什么软件做,贵阳做网站seo,怎么注册自己的网址,怎么做网站内链目录 1. 系统配置2. 拉取代码#xff0c;配置环境3.开始深度预测4.运行结果 论文链接#xff1a;https://depthfm.github.io/ 讲解链接#xff1a;https://www.php.cn/faq/734404.html 1. 系统配置
本人系统#xff1a;Win11 CUDA12.2 python3.11.5 这里附上几个CUDA安装链… 目录 1. 系统配置2. 拉取代码配置环境3.开始深度预测4.运行结果 论文链接https://depthfm.github.io/ 讲解链接https://www.php.cn/faq/734404.html 1. 系统配置
本人系统Win11 CUDA12.2 python3.11.5 这里附上几个CUDA安装链接 安装CUDA和CudaNNCUDA Toolkit 12.2 Update 2 DownloadscuDNN Archive这里我选择的Download cuDNN v8.9.7 (December 5th, 2023), for CUDA 12.xwindows下切换不同版本cuda 2. 拉取代码配置环境
首先克隆 github 仓库
git clone gitgithub.com:CompVis/depth-fm.git
cd depth-fm下载权重
Invoke-WebRequest -Uri https://ommer-lab.com/files/depthfm/depthfm-v1.ckpt -OutFile checkpoints/depthfm-v1.ckpt 创建 conda 环境。这里我之前的环境是cuda11.8就失败了然后换到了cuda12.2
conda env create -f environment.yml3.开始深度预测
python inference.py \--num_steps 2 \--ensemble_size 4 \--img assets/dog.png \--ckpt checkpoints/depthfm-v1.ckpt但是此时报错了 OSError: runwayml/stable-diffusion-v1-5 does not appear to have a file named config.json. 在项目的issue中找到了解决方法https://github.com/CompVis/depth-fm/issues/16 一句命令解决huggingface.co无法下载模型问题 在windows里面直接设置环境变量 接下来重新运行python inference.py
4.运行结果