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

终于成功,泪流!

相关推荐
派大鑫wink10 分钟前
从零到精通:Python 系统学习指南(附实战与资源)
开发语言·python
c骑着乌龟追兔子13 分钟前
Day 38 官方文档的阅读
python
羸弱的穷酸书生35 分钟前
国网 i1协议 python实现
开发语言·python
weixin_4620223535 分钟前
RAW-Adapter: Adapting Pre-trained Visual Model to Camera RAW Images
python·计算机视觉
电子硬件笔记36 分钟前
Python语言编程导论第三章 编写程序
开发语言·python·编辑器
布谷歌36 分钟前
在java中实现c#的int.TryParse方法
java·开发语言·python·c#
B站计算机毕业设计之家1 小时前
基于大数据热门旅游景点数据分析可视化平台 数据大屏 Flask框架 Echarts可视化大屏
大数据·爬虫·python·机器学习·数据分析·spark·旅游
周纠纠2 小时前
附录1:中文切词
python
Cricyta Sevina2 小时前
Java Collection 集合进阶知识笔记
java·笔记·python·collection集合