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

About code problem when running smtrain.py #8

Open
bihongliang007 opened this issue Feb 2, 2019 · 0 comments
Open

About code problem when running smtrain.py #8

bihongliang007 opened this issue Feb 2, 2019 · 0 comments

Comments

@bihongliang007
Copy link

 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.

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

1 participant