克隆代码
git clone https://github.com/nv-tlabs/Difix3D.git
安装conda环境
conda create -n difix python=3.9
conda activate difix
pip install -r requirements.txt
给的requirements文件中pytorch和xformers的版本没有指定,这里测试过以下版本,可以成功运行
torch==2.0.0+cu118
torchvision==0.15.1+cu118
xformers==0.0.19
triton==2.0.0
如果出现,以下错误重新pip install trion==2.0.0即可
A matching Triton is not available, some optimizations will not be enabled.
测试demo
将readme中的demo代码新建一个python脚本复制进去,然后将脚本放在src目录中运行。
fro


565

被折叠的 条评论
为什么被折叠?



