Tensorflow/ dataset.cache Error #1095
Replies: 3 comments 1 reply
-
Hi @santiaci325, Do you mind posting the full error message (starting a bit before the Usually this occurs when there is a mismatch in sizing between what the model expects and what is given (which could be a color/grayscale mismatch). Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi @santiaci325, Hmm this seems to be a different error message which occurs when the video is not reliably seekable. Try reencoding your video and let us know how that works. Thanks, P.S. Also linking similar problems here for reference (namely Unable to load frame #366, KeyError when trying to run inference #630, Encoding Multiple Videos using Batch File #710, and KeyError "Unable to load frame" causing SLEAP to crash when predicting #765 ). |
Beta Was this translation helpful? Give feedback.
-
Hi! I am trying to train a dataset on user labeled frames across four videos, and for some reason I get this error that stops training:
2022-12-21 22:20:31.192184: W tensorflow/core/kernels/data/cache_dataset_ops.cc:768] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset will be discarded. This can happen if you have an input pipeline similar to
dataset.cache().take(k).repeat()
. You should usedataset.take(k).cache().repeat()
instead.INFO:sleap.nn.callbacks:Closing the reporter controller/context.
INFO:sleap.nn.callbacks:Closing the training controller socket/context.
Run Path: Z:/Chiaki/Data/SLEAP/tracktake3\models\221221_222015.single_instance.n=120
Since I am using the GUI, I am not entirely sure how to fix this problem, could someone help me with this? :) Thanks!
Beta Was this translation helpful? Give feedback.
All reactions