Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AnasHattay opened this issue Feb 29, 2024 · 1 comment

Comments

@AnasHattay
Copy link

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.

@Parhizkar-am
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants