Code Monkey home page Code Monkey logo

face-clustering's People

Contributors

luca96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

face-clustering's Issues

Type error during fitting

When I fit the model, I received this error: TypeError: Expected int64 passed to parameter 'y' of op 'Maximum', got 1e-12 of type 'float' instead. Error: Expected int64, but got 1e-12 of type 'float'.
which can be traced back to the warning TypeError: not all arguments converted during string formatting during the train generator,
is there any fix for this?

Thank you

cosine_proximity

While trying to run your pre-trained model via UL19_Clustering.ipynb notebook I get an error while executing this cell:

`model = keras.models.load_model("/content/weights-FC37-MobileNetV2-0.92.hdf5", custom_objects={'loss_max': loss_max})

model.summary()`

This is the error:

`ValueError Traceback (most recent call last)

in ()
3 return K.max(K.abs(y_pred - y_true), axis=-1)
4
----> 5 model = keras.models.load_model("/content/weights-FC37-MobileNetV2-0.92.hdf5", custom_objects={'loss_max': loss_max})
6
7 model.summary()

5 frames

/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/utils/generic_utils.py in deserialize_keras_object(identifier, module_objects, custom_objects, printable_module_name)
376 if obj is None:
377 raise ValueError(
--> 378 'Unknown ' + printable_module_name + ': ' + object_name)
379 # Classes passed by name are instantiated with no args, functions are
380 # returned as-is.

ValueError: Unknown loss function: cosine_proximity`

Got the same error with tf.keras instead of keras. Any ideas?

Low accuracy

I have run github implementation of your method several times (I did full training 6 or 7 times, 12 epoches each) and I did not achive more than 80% of accurancy during training. What are "secret steps" I have to undertake to obtain 89% of accuracy in the first two epochs?ย :-) Are there some network tuning options that are not set on github?

Tensorflow Version

Please note the TensorFlow version in the README (I had to find out the hard way) Spoiler alert: It's not TensorFlow 2.

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.