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

TypeError: unsupported operand type(s) for /: 'Dimension' and 'int' #8

Open
abdullahaleem opened this issue Nov 11, 2019 · 1 comment

Comments

@abdullahaleem
Copy link

image

I previously change basestring to str and then tried running inference with
python inference.py --img_path="./input/image1.png" --restore_from="./restore_weights"

Any idea to resolve this?

@abhinav3
Copy link

Change it to kernel = self.make_var('weights', shape=[k_h, k_w, int(c_i) / group, c_o])

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