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

I encountered a problem when predicting? #14

Open
liuzhuang1024 opened this issue Jun 11, 2019 · 5 comments
Open

I encountered a problem when predicting? #14

liuzhuang1024 opened this issue Jun 11, 2019 · 5 comments

Comments

@liuzhuang1024
Copy link

image

@liuzhuang1024
Copy link
Author

TypeError: init() missing 2 required positional arguments: 'localization_net' and 'output_size'

@sbillburg
Copy link
Owner

TypeError: init() missing 2 required positional arguments: 'localization_net' and 'output_size'

Did you comment the line 7 in Predict_DEMO.py?
(”from STN.spatial_transformer import SpatialTransformer”)

@liuzhuang1024
Copy link
Author

TypeError: init() missing 2 required positional arguments: 'localization_net' and 'output_size'

Did you comment the line 7 in Predict_DEMO.py?
(”from STN.spatial_transformer import SpatialTransformer”)
I have no comments.
image
After the comment,
image

@liuzhuang1024
Copy link
Author

TypeError: init() missing 2 required positional arguments: 'localization_net' and 'output_size'

Did you comment the line 7 in Predict_DEMO.py?
(”from STN.spatial_transformer import SpatialTransformer”)

Can you tell me the version of keras and tensorflow you are using after successful operation?Thanks.

@FelipeFLopes
Copy link

FelipeFLopes commented Feb 21, 2020

I have the same problem, I'm using tensorflow 1.13.1, python 3.75 and keras 2.2.4.

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

3 participants