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

Extracting image features #672

Merged
merged 4 commits into from
Mar 12, 2018
Merged

Extracting image features #672

merged 4 commits into from
Mar 12, 2018

Conversation

jlibovicky
Copy link
Contributor

  • 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

@jlibovicky jlibovicky self-assigned this Mar 12, 2018
@@ -13,7 +13,7 @@
# pylint: disable=too-few-public-methods


class VectorEncoder(ModelPart, Stateful):
class StatefulNumberEncoder(ModelPart, Stateful):
Copy link
Member

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,
Copy link
Member

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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vyhodit

@jindrahelcl jindrahelcl merged commit 07ec99c into master Mar 12, 2018
@jindrahelcl jindrahelcl deleted the img_feat branch March 12, 2018 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants