nicknochnack / facedetection Goto Github PK
View Code? Open in Web Editor NEWAn end-to-end walkthrough with a custom object detection pipeline for face detection!
An end-to-end walkthrough with a custom object detection pipeline for face detection!
ValueError Traceback (most recent call last)
Cell In[74], line 1
----> 1 hist = model.fit(train, epochs=10, validation_data=val, callbacks=[tensorboard_callback])
File ~\Desktop\Panashe\tensorflow\TFODCourse\murahwa\Lib\site-packages\keras-3.1.1-py3.11.egg\keras\src\utils\traceback_utils.py:122, in filter_traceback..error_handler(*args, **kwargs)
119 filtered_tb = _process_traceback_frames(e.traceback)
120 # To get the full stack trace, call:
121 # keras.config.disable_traceback_filtering()
--> 122 raise e.with_traceback(filtered_tb) from None
123 finally:
124 del filtered_tb
Cell In[68], line 19, in FaceTracker.train_step(self, batch, **kwargs)
16 with tf.GradientTape() as tape:
17 classes, coords = self.model(X, training=True)
---> 19 batch_classloss = self.closs(y[0], classes)
20 batch_localizationloss = self.lloss(tf.cast(y[1], tf.float32), coords)
22 total_loss = batch_localizationloss+0.5*batch_classloss
ValueError: Cannot take the length of shape with unknown rank.
ValueError Traceback (most recent call last)
Cell In[70], line 1
----> 1 hist = model.fit(train, epochs=10, validation_data=val, callbacks=[tensorboard_callback])
File ~\anaconda3\Lib\site-packages\keras\src\utils\traceback_utils.py:122, in filter_traceback..error_handler(*args, **kwargs)
119 filtered_tb = _process_traceback_frames(e.traceback)
120 # To get the full stack trace, call:
121 # keras.config.disable_traceback_filtering()
--> 122 raise e.with_traceback(filtered_tb) from None
123 finally:
124 del filtered_tb
Cell In[65], line 19, in FaceTracker.train_step(self, batch, **kwargs)
16 with tf.GradientTape() as tape:
17 classes, coords = self.model(X, training=True)
---> 19 batch_classloss = self.closs(y[0], classes)
20 batch_localizationloss = self.lloss(tf.cast(y[1], tf.float32), coords)
22 total_loss = batch_localizationloss+0.5*batch_classloss
ValueError: Cannot take the length of shape with unknown rank.
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.