cartoonize icon indicating copy to clipboard operation
cartoonize copied to clipboard

NotImplementedError: Cannot convert a symbolic Tensor (2nd_target:0) to a numpy array

Open rohit200195 opened this issue 3 years ago • 1 comments

NotImplementedError: Cannot convert a symbolic Tensor (2nd_target:0) to a numpy array

For me, the above issue occurred when upgrading from numpy 1.20 and using ray's RLlib, which uses tensorflow 2.2 internally. Simply downgrading with version numpy==1.19.5 solved my problem.

rohit200195 avatar Oct 10 '21 16:10 rohit200195

But there is no numpy in requirements.txt Where should I change version?

PlanKey avatar Nov 02 '21 20:11 PlanKey