score_inverse_problems运行环境,pycharm重新安装,jax,jaxlib的GPU版本安装-230831

尝试运行https://github.com/yang-song/score_inverse_problems

pycharm2019不支持python3.10,其实后来我用来3.8……
pycharm2022.3.3的安装,涉及激活(淘宝5元),搜狗拼音输入(shift不能切换输入法,后自动好了)
刚开始使用sudo sh pycharm.sh的方法,不方便,还有报错,最后尝试直接修改原来的desktop,竟然可以了~~

环境tf2的python为3.6.9,版本较低,诸多软件不能重新安装
一开始直接按照pip install -r requirements.txt
jax一直报错WARNING - No GPU/TPU found, falling back to CPU.
tensorflow一直报错libcusoler.11.o not found

经过多番尝试,应该是安装的不是GPU版的jax,解决方案是
安装了python=3.8的虚拟环境,不知道这个有没有关系
安装tensorflow=2.5.0(原来2.8.0,可能需要cuda11)
pip install --upgrade jax jaxlib==0.1.71+cuda101 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
https://stackoverflow.com/questions/65486358/unable-to-install-specific-jax-jaxlib-gpu-version#:~:text=You%20can%20use%20something%20like%3A%20%24%20pip%20install,the%20available%20wheel%20files%20and%20then%20install%20those.

pip install --upgrade jax==0.2.18 jaxlib==0.1.69+cuda101 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

终于成功,泪流!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值