guillaumemougeot / dogfacenet Goto Github PK
View Code? Open in Web Editor NEWFaceNet implementation for dog identification
License: MIT License
FaceNet implementation for dog identification
License: MIT License
I ran command python ./dogfacenet/dogfacenet.py with environment ubuntu 18.04.2 LTS, python 3.6.8, and tensorflow 1.13.1.
And I got this error. I don't have any idea to fix this error and why this error show up.
Traceback (most recent call last):
File "./dogfacenet/dogfacenet.py", line 219, in
validation_steps=VALIDATION_STEPS)]
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1426, in fit_generator
initial_epoch=initial_epoch)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_generator.py", line 177, in model_iteration
batch_data = _get_next_batch(output_generator, mode)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_generator.py", line 258, in _get_next_batch
generator_output = next(output_generator)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/utils/data_utils.py", line 767, in get
six.reraise(*sys.exc_info())
File "/home/aji3rang/.local/lib/python3.6/site-packages/six.py", line 696, in reraise
raise value
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/utils/data_utils.py", line 743, in get
inputs = self.queue.get(block=True).get()
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/utils/data_utils.py", line 680, in next_sample
return six.next(_SHARED_SEQUENCES[uid])
File "/home/aji3rang/dognet/DogFaceNet/dogfacenet/online_training.py", line 329, in online_adaptive_hard_image_generator
steps=int(np.ceil(len(subfilenames)/32)))
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1536, in predict_generator
verbose=verbose)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_generator.py", line 171, in model_iteration
model.reset_metrics()
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1119, in reset_metrics
m.reset_states()
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/metrics.py", line 460, in reset_states
K.set_value(v, 0)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 2847, in set_value
get_session().run(assign_op, feed_dict={assign_placeholder: value})
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/aji3rang/anaconda3/envs/tf3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1077, in _run
raise RuntimeError('The Session graph is empty. Add operations to the '
RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
I like your awesome project.
I download the dataset below page.
https://github.com/GuillaumeMougeot/DogFaceNet/releases/
but I can't find landmark data or a pre-train model.
It is only 244 * 244 images.
Can you share it?
I can't find landmark data or a pre-train model.
Can you share it?
During training a get val_triplet_acc 85-90 % and when i use the eval.py the prediction are random ( 48-52 % accuracy). i don't understand how this is possible?. I am using the lfw dataset
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.