I'm studying machine learning RNN.What is the error message?

Asked 1 years ago, Updated 1 years ago, 80 views

I am a beginner in machine learning.
I'm studying machine learning RNN.

 history=ins_model.fit(x,t,epochs=20,batch_size=batch_size,validation_split=0.1)

When I added and executed the above code, PyCharm received the following message:
What does this mean?
It seems that model learning is being conducted for the time being.
I would appreciate it if you could tell me how to deal with it.
Thank you for your cooperation.

2020-03-1008:31:22.291990:Etensorflow/core/grappler/optimizers/meta_optimizer.cc:561] remapper failed:Invalid argument:MutableGraphView::MutableGraphView error:node'loss/dense_1_loss/mean_squared_weightedered_cores/light/light
2020-03-1008:31:22.294990:Etensorflow/core/grappler/optimizers/dependency_optimizer.cc:717]Iteration=0, topological sort failed with message: The graph couldn't be sorted in topological order.
2020-03-1008:31:22.296991: Etensorflow/core/grappler/optimizers/dependency_optimizer.cc:717]Iteration=1, topological sort failed with message: The graph couldn't be sorted in topological order.
2020-03-1008:31:22.307992:Etensorflow/core/grappler/optimizers/meta_optimizer.cc:561]arthmic_optimizer failed: Invalid argument: The graph couldn't be sorted in topological order.
2020-03-1008:31:22.308492:Etensorflow/core/grappler/optimizers/meta_optimizer.cc:561] remapper failed:Invalid argument:MutableGraphView::MutableGraphView error:node'loss/dense_1_loss/mean_squared_error/weighted_loss/weightedicated/weighteduce_loss/weighteduce/weighted/weighted/lighted/lighted/lighted/light/lighted/lighted/lighted/lighted/lighted/lighted/lighted/lighted/lighted/lighted/lighted/lightedlighted
2020-03-1008:31:22.309492:Etensorflow/core/grappler/optimizers/dependency_optimizer.cc:717]Iteration=0, topological sort failed with message: The graph couldn't be sorted in topological order.
2020-03-1008:31:22.310992:Etensorflow/core/grappler/optimizers/dependency_optimizer.cc:717]Iteration=1, topological sort failed with message: The graph couldn't be sorted in topological order.
2020-03-1008:31:22.313493:Wtensorflow/core/common_runtime/process_function_library_runtime.cc:697] Ignoring multi-device function optimization failure: Invalid argument: The graph couldn't be sorted in topological order.

---
Windows 7 64-bit Anaconda3 2019.10
PyCharm 2019.3
keras 2.3.1
tensorflow 2.1

python anaconda keras pycharm

2022-09-30 20:25

1 Answers

This is because the graph has a circular dependency.Computational graphs must be linear.Review the code and remove the circular dependencies to make them linear.
See also this link


2022-09-30 20:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.