CloudSimPy icon indicating copy to clipboard operation
CloudSimPy copied to clipboard

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

Open AnasHattay opened this issue 1 year ago • 2 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.

AnasHattay avatar Feb 29 '24 08:02 AnasHattay

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.

Parhizkar-am avatar Jul 01 '24 16:07 Parhizkar-am

Hello guys How I can contact CloudSimPy owner FC-Li himself? Thanks

HavalDarwesh avatar Aug 27 '25 08:08 HavalDarwesh