-
Notifications
You must be signed in to change notification settings - Fork 104
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
Extracting image features #672
Conversation
jlibovicky
commented
Mar 12, 2018
- script for extracting image features using ImageNet networks
- new reader for numpy object with the same API as reaader for images
- update of numpy ecoder that was not used for ages and became outdated
@@ -13,7 +13,7 @@ | |||
# pylint: disable=too-few-public-methods | |||
|
|||
|
|||
class VectorEncoder(ModelPart, Stateful): | |||
class StatefulNumberEncoder(ModelPart, Stateful): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to má bejt numpy
data_id: str, | ||
output_shape: int = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vyhodit
@@ -74,40 +74,26 @@ def __init__(self, | |||
initializers) | |||
|
|||
assert len(input_shape) == 3 | |||
if output_shape <= 0: | |||
if output_shape is not None and output_shape <= 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vyhodit