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.

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

终于成功,泪流!

相关推荐
李少兄9 天前
解决OSS存储桶未创建导致的XML错误
xml·开发语言·python
就叫飞六吧9 天前
基于keepalived、vip实现高可用nginx (centos)
python·nginx·centos
Vertira9 天前
PyTorch中的permute, transpose, view, reshape和flatten函数详解(已解决)
人工智能·pytorch·python
学Linux的语莫9 天前
python基础语法
开发语言·python
匿名的魔术师9 天前
实验问题记录:PyTorch Tensor 也会出现 a = b 赋值后,修改 a 会影响 b 的情况
人工智能·pytorch·python
Ven%9 天前
PyTorch 张量(Tensors)全面指南:从基础到实战
人工智能·pytorch·python
mahuifa9 天前
PySide环境配置及工具使用
python·qt·环境配置·开发经验·pyside
大熊猫侯佩9 天前
ruby、Python 以及 Swift 语言关于 “Finally” 实现的趣谈
python·ruby·swift
19899 天前
【Dify精讲】第19章:开源贡献指南
运维·人工智能·python·架构·flask·开源·devops
@昵称不存在9 天前
Python Arrow 库详解:更智能的日期时间处理
开发语言·python