Giter Site home page Giter Site logo

priyamtejaswin / devise-keras Goto Github PK

View Code? Open in Web Editor NEW
22.0 4.0 9.0 1.89 MB

Interpretable Image Search by Priyam Tejaswin and Akshay Chawla

Home Page: http://35.227.39.159:5050/

Python 66.78% Shell 2.63% JavaScript 24.40% HTML 6.19%
deep-learning machine-learning interpretable-deep-learning image-search

devise-keras's Issues

Master Branch, followed SETUP steps, get Model Dimension Mis-match error

SETUP

edit local.cfg to set LOCAL/PROD in ENV

bash SETUP.sh

python scrape_and_save_images.py

python extract_word_embeddings.py

python shuffle_val_data.py

Ensure DS_Store files are not in the image folders.

python clean_data.py TRAIN

python clean_data.py VALID

python extract_features_and_dump.py TRAIN

// GET A MIS-ALIGNMENT ERROR//
when running "python extract_features_and_dump.py TRAIN
..........

File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
debug_python_shape_fn, require_shape_fn)
File "/usr/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 676, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Dimension 0 in both shapes must be equal, but are 3 and 64 for 'Assign' (op: 'Assign') with input shapes: [3,3,224,64], [64,3,3,3].

prior to this error, I got another error:

ValueError: Negative dimension size caused by subtracting 2 from 1 for 'block2_pool/MaxPool' (op: 'MaxPool') with input shapes: [?,1,112,128].

to attempt to address this error, I added parameter dim_ordering="th" in the MaxPooling2D calls.

Please advise what would be good steps to address these errors.

Is there an update for model building in python_extract_features_and_dump.py ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.