Mid-Push/Moving-Semantic-Transfer-Network

About code problem when running smtrain.py

bihongliang007 opened this issue · 0 comments

 I want to do more research on the basis of your idea and I have download source code provided from github(https://github.com/Mid-Push/Moving-Semantic-Transfer-Network). However, I have encountered some difficulties in the process of reviewing your system. For example, we encounter some problems as follows when running smtrain.py: 

Traceback (most recent call last):
File "C:\Users\BiHongliang\AppData\Roaming\Python\Python35\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call
return fn(*args)
File "C:\Users\BiHongliang\AppData\Roaming\Python\Python35\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\BiHongliang\AppData\Roaming\Python\Python35\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Matrix size-incompatible: In[0]: [100352,1], In[1]: [3,1]
[[{{node rgb_to_grayscale_1/Tensordot/MatMul}} = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"](rgb_to_grayscale_1/Tensordot/Reshape, rgb_to_grayscale_1/Tensordot/Reshape_1)]]

During handling of the above exception, another exception occurred:

I don't know if I missed something? Please give me some advice.
Thank you very much for your favor.