FC-Li / CloudSimPy

CloudSimPy: Datacenter job scheduling simulation framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot convert a Tensor of dtype resource to a NumPy array.

AnasHattay opened this issue · comments

Trying to upgrade the code to use newer versions, I am encountering a blocking issue :

/CloudSimPy/playground/Non_DAG/launch_scripts/main-makespan.py", line 99, in
p.start()

tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot convert a Tensor of dtype resource to a NumPy array.

Hi AnasHattay,
Same issue here!
Have you been able to solve it?
i guess the problem might be in Agent module bcz only there np.Array can be found! and the reason why the error is in p.start() maybe is that the model is actually running in that phrase.