You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
运行tutorial/entity_alignment/main.py时报错为
Traceback (most recent call last):
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\main.py", line 99, in
model.run()
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 335, in run
self.launch_training_1epo(i, triple_steps, steps_tasks, training_batch_queue, neighbors1, neighbors2)
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 234, in launch_training_1epo
self.launch_embed_training_1epo(epoch, triple_steps, steps_tasks, training_batch_queue, neighbors1, neighbors2)
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 250, in launch_embed_training_1epo
batch_loss, _ = self.session.run(fetches=[self.triple_loss, self.triple_optimizer],
File "C:\ProgramData\Anaconda3\envs\openea\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "C:\ProgramData\Anaconda3\envs\openea\lib\site-packages\tensorflow\python\client\session.py", line 1165, in _run
raise ValueError(
ValueError: Cannot feed value of shape (20480,) for Tensor triple_placeholder/Variable/Read/ReadVariableOp:0, which has shape (1,)
如何解决?
The text was updated successfully, but these errors were encountered:
运行tutorial/entity_alignment/main.py时报错为
Traceback (most recent call last):
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\main.py", line 99, in
model.run()
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 335, in run
self.launch_training_1epo(i, triple_steps, steps_tasks, training_batch_queue, neighbors1, neighbors2)
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 234, in launch_training_1epo
self.launch_embed_training_1epo(epoch, triple_steps, steps_tasks, training_batch_queue, neighbors1, neighbors2)
File "D:\WYN\OpenEA-master\OpenEA-master\tutorial\entity_alignment\mtranse.py", line 250, in launch_embed_training_1epo
batch_loss, _ = self.session.run(fetches=[self.triple_loss, self.triple_optimizer],
File "C:\ProgramData\Anaconda3\envs\openea\lib\site-packages\tensorflow\python\client\session.py", line 968, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "C:\ProgramData\Anaconda3\envs\openea\lib\site-packages\tensorflow\python\client\session.py", line 1165, in _run
raise ValueError(
ValueError: Cannot feed value of shape (20480,) for Tensor triple_placeholder/Variable/Read/ReadVariableOp:0, which has shape (1,)
如何解决?
The text was updated successfully, but these errors were encountered: