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

终于成功,泪流!

相关推荐
Hgfdsaqwr4 小时前
Django全栈开发入门:构建一个博客系统
jvm·数据库·python
开发者小天4 小时前
python中For Loop的用法
java·服务器·python
老百姓懂点AI4 小时前
[RAG实战] 向量数据库选型与优化:智能体来了(西南总部)AI agent指挥官的长短期记忆架构设计
python
喵手6 小时前
Python爬虫零基础入门【第九章:实战项目教学·第15节】搜索页采集:关键词队列 + 结果去重 + 反爬友好策略!
爬虫·python·爬虫实战·python爬虫工程化实战·零基础python爬虫教学·搜索页采集·关键词队列
Suchadar7 小时前
if判断语句——Python
开发语言·python
ʚB҉L҉A҉C҉K҉.҉基҉德҉^҉大7 小时前
自动化机器学习(AutoML)库TPOT使用指南
jvm·数据库·python
喵手7 小时前
Python爬虫零基础入门【第九章:实战项目教学·第14节】表格型页面采集:多列、多行、跨页(通用表格解析)!
爬虫·python·python爬虫实战·python爬虫工程化实战·python爬虫零基础入门·表格型页面采集·通用表格解析
0思必得07 小时前
[Web自动化] 爬虫之API请求
前端·爬虫·python·selenium·自动化
莫问前路漫漫8 小时前
WinMerge v2.16.41 中文绿色版深度解析:文件对比与合并的全能工具
java·开发语言·python·jdk·ai编程
木头左8 小时前
Backtrader框架下的指数期权备兑策略资金管理实现与风险控制
python