w-plus-adapter icon indicating copy to clipboard operation
w-plus-adapter copied to clipboard

环境配件兼容性冲突

Open White-1-g opened this issue 3 months ago • 7 comments

您好!近期研读了您发表的《When StyleGAN Meets Stable Diffusion:a W+ Adapter for Personalized Image Generation》,文中styleGan2+扩散模型的结合对我启发很大,感谢您的学术分享。 目前我在复现论文实验时,按文中提示配置环境(python ./script/ProcessWildImage.py -i ./test_data/in_the_wild -o ./test_data/in_the_wild_Result -n )),却反复遇到 头文件定义冲突(我按照提示下载了VS2019和CUDA11.8);尝试 VS2022后,问题仍未解决。想请问您运行这个代码的具体配件有哪些呢? 若能得到您的简要指点,我将十分感激。 再次感谢!期待您的回复。

White-1-g avatar Sep 14 '25 13:09 White-1-g

您好!近期研读了您发表的《When StyleGAN Meets Stable Diffusion:a W+ Adapter for Personalized Image Generation》,文中styleGan2+扩散模型的结合对我启发很大,感谢您的学术分享。 目前我在复现论文实验时,按文中提示配置环境(python ./script/ProcessWildImage.py -i ./test_data/in_the_wild -o ./test_data/in_the_wild_Result -n )),却反复遇到 头文件定义冲突(我按照提示下载了VS2019和CUDA11.8);尝试 VS2022后,问题仍未解决。想请问您运行这个代码的具体配件有哪些呢? 若能得到您的简要指点,我将十分感激。 再次感谢!期待您的回复。

这个ProcessWildImage.py文件里的代码都是很常见的一些包,没有特别棘手的,我没在windows下运行过,代码是在linux终端里测试的,但是感觉跟系统关系不大,都是常用的包

csxmli2016 avatar Sep 14 '25 13:09 csxmli2016

方便告知一下您的gpu加速的环境搭配是怎样的吗?

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: csxmli2016 @.> 发送时间: 2025年9月14日 21:07 收件人: csxmli2016/w-plus-adapter @.> 抄送: White-1-g @.>, Author @.> 主题: Re: [csxmli2016/w-plus-adapter] 环境配件兼容性冲突 (Issue #16)

csxmli2016 left a comment (csxmli2016/w-plus-adapter#16)

您好!近期研读了您发表的《When StyleGAN Meets Stable Diffusion:a W+ Adapter for Personalized Image Generation》,文中styleGan2+扩散模型的结合对我启发很大,感谢您的学术分享。 目前我在复现论文实验时,按文中提示配置环境(python ./script/ProcessWildImage.py -i ./test_data/in_the_wild -o ./test_data/in_the_wild_Result -n )),却反复遇到 头文件定义冲突(我按照提示下载了VS2019和CUDA11.8);尝试 VS2022后,问题仍未解决。想请问您运行这个代码的具体配件有哪些呢? 若能得到您的简要指点,我将十分感激。 再次感谢!期待您的回复。

这个ProcessWildImage.py文件里的代码都是很常见的一些包,没有特别棘手的,我没在windows下运行过,代码是在linux终端里测试的,但是感觉跟系统关系不大,都是常用的包

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

White-1-g avatar Sep 14 '25 13:09 White-1-g

方便告知一下您的gpu加速的环境搭配是怎样的吗?

发自我的iPhone

只要你安装的torch版本跟你的驱动版本能对应起来,就可以,我安装的版本在readme里有介绍https://github.com/csxmli2016/w-plus-adapter#installation

csxmli2016 avatar Sep 14 '25 13:09 csxmli2016

好的,谢谢!我再研究研究 

White @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年9月14日(星期天) 晚上9:12 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [csxmli2016/w-plus-adapter] 环境配件兼容性冲突 (Issue #16)

csxmli2016 left a comment (csxmli2016/w-plus-adapter#16)

方便告知一下您的gpu加速的环境搭配是怎样的吗?

发自我的iPhone …

跟gpu版本没关系,只要你安装的gpu跟你的显卡能对应起来,就可以,我安装的版本在readme里有介绍https://github.com/csxmli2016/w-plus-adapter#installation

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

White-1-g avatar Sep 14 '25 14:09 White-1-g

您好,在test_demo.ipynb中,点击运行发现需要在https://huggingface.co/runwayml/stable-diffusion-v1-5下载一个文件,但是这个网站不存在了,请问您更新吗?

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: csxmli2016 @.> 发送时间: 2025年9月14日 21:13 收件人: csxmli2016/w-plus-adapter @.> 抄送: White-1-g @.>, Author @.> 主题: Re: [csxmli2016/w-plus-adapter] 环境配件兼容性冲突 (Issue #16)

csxmli2016 left a comment (csxmli2016/w-plus-adapter#16)

方便告知一下您的gpu加速的环境搭配是怎样的吗?

发自我的iPhone …

跟gpu版本没关系,只要你安装的gpu跟你的显卡能对应起来,就可以,我安装的版本在readme里有介绍https://github.com/csxmli2016/w-plus-adapter#installation

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

White-1-g avatar Sep 15 '25 12:09 White-1-g

您好,在test_demo.ipynb中,点击运行发现需要在https://huggingface.co/runwayml/stable-diffusion-v1-5下载一个文件,但是这个网站不存在了,请问您更新吗?

发自我的iPhone

网上有很多现成的,你可以自己搜索下载,例如https://pan.baidu.com/s/1Yu5HjXnHxK0Wgymc8G-g5g?pwd=gtk8

csxmli2016 avatar Sep 15 '25 13:09 csxmli2016

好的,谢谢您的回答!

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: csxmli2016 @.> 发送时间: 2025年9月15日 21:08 收件人: csxmli2016/w-plus-adapter @.> 抄送: White-1-g @.>, Author @.> 主题: Re: [csxmli2016/w-plus-adapter] 环境配件兼容性冲突 (Issue #16)

csxmli2016 left a comment (csxmli2016/w-plus-adapter#16)

您好,在test_demo.ipynb中,点击运行发现需要在https://huggingface.co/runwayml/stable-diffusion-v1-5下载一个文件,但是这个网站不存在了,请问您更新吗?

发自我的iPhone …

网上有很多现成的,你可以自己搜索下载,例如https://pan.baidu.com/s/1Yu5HjXnHxK0Wgymc8G-g5g?pwd=gtk8

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

White-1-g avatar Sep 15 '25 13:09 White-1-g