Comments (9)
@TomorrowIsAnOtherDay We have the same error on PaddlePaddle PaddlePaddle/Paddle#23086
W0318 11:19:35.642894 150 init.cc:217] @ 0x7fd7e9316c94 _ZN8pybind115enum_IN10onnx_torch20TensorProto_DataTypeEEC1IJEEERKNS_6handleEPKcDpRKT_
W0318 11:19:35.644227 150 init.cc:217] @ 0x7fd7e931029c torch::onnx::initONNXBindings()
We have torch
among the requirements.
Any hint?
from parl.
你好,我看你的报错信息有 torch::onnx::initONNXBindings
这样的错误,猜测可能是paddle与torch的依赖冲突导致的。
你目前的环境可以正常运行paddle的普通程序吗?
from parl.
你好,我看你的报错信息有
torch::onnx::initONNXBindings
这样的错误,猜测可能是paddle与torch的依赖冲突导致的。
你目前的环境可以正常运行paddle的普通程序吗?
可以运行别的
from parl.
你使用的是anaconda部署环境吗?如果是的话请导出anaconda的环境配置,我们这边尝试复现下这个问题。
如果是pip配置的话,请使用pip list 输出配置环境。
如果赶时间的话,建议用anaconda开一个新的环境,只配置paddle以及PARL。
from parl.
说起 torch
我倒是发现代码https://github.com/PaddlePaddle/PARL/blob/develop/parl/core/torch/agent.py#L75 有点问题:
self.alg = algorithm
self.device = torc.device('cuda' if torch.cuda.
is_available() else 'cpu')
是否出现了拼写错误?
from parl.
说起
torch
我倒是发现代码https://github.com/PaddlePaddle/PARL/blob/develop/parl/core/torch/agent.py#L75 有点问题:self.alg = algorithm
self.device = torc.device('cuda' if torch.cuda.
is_available() else 'cpu')是否出现了拼写错误?
是的!感谢指出。我们的单测应该会覆盖到这部分代码的,但实际上并没有覆盖到。我们立刻定位下原因。
from parl.
说起
torch
我倒是发现代码https://github.com/PaddlePaddle/PARL/blob/develop/parl/core/torch/agent.py#L75 有点问题:self.alg = algorithm
self.device = torc.device('cuda' if torch.cuda.
is_available() else 'cpu')是否出现了拼写错误?
是的!感谢指出。我们的单测应该会覆盖到这部分代码的,但实际上并没有覆盖到。我们立刻定位下原因。
问题已定位到并fix了,再次感谢指出!
from parl.
@loretoparisi Sorry, our suggestion was to install torch
and paddle
in different environments. We do not suggest using PARL in an environment with torch and paddle installed, due to the potential dependency conflicts.
from parl.
@TomorrowIsAnOtherDay thank you, in the meanwhile we have found out that the conflict happens with torch==1.0.0
at least.
from parl.
Related Issues (20)
- import parl时报错RuntimeError问题 HOT 1
- A2C模型训练报错 HOT 1
- train.py导入parl时报错怎么解决 HOT 6
- 运行lesson3的课件代码,无法显示平衡杆的图像效果 HOT 4
- PARL在MacOS系统上用pip安装的时候报错 HOT 2
- LESSON5中的DDPG,将PyCharm中提示未实现抽象函数的类都实现后,reward一直处于10左右
- 救命,安装需要的环境包的时候没有一个包安得上,换了ali的源也一样,ubuntu18.04
- pip安装parl时报错
- 电气研究生跨考控制之我真是小白!!! HOT 1
- import parl时RuntimeError HOT 2
- 询问gym库中OBS对象属性的问题
- 使用python train.py运行tutorials中的代码没有反应
- 渲染图像render=True时,代码报错,图像框一下子闪退 Windows10 HOT 1
- torch的选择问题? HOT 2
- DDPG mujoco error
- It seems `fluid` is absent from paddlepaddle after 2.5, causing issue with backend detection on Windows HOT 1
- Attributerror HOT 6
- pip安装问题 HOT 4
- 分发本地文件如何同步更新呢 HOT 1
- Remaining issues of CI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parl.