Replies: 1 comment
-
Hi @rpartan, There are a couple of options here:
import sleap_io as sio
labels = sio.load_slp("train.slp")
filtered_lfs = []
for lf in self.labels:
if lf.user_instances is not None and len(lf.user_instances) > 0:
lf.instances = lf.user_instances
filtered_lfs.append(lf)
new_labels = sio.Labels(
videos=labels.videos,
skeletons=labels.skeletons,
labeled_frames=filtered_lfs,
)
new_labels.save("train_labels.slp", embed=True) The new Let me know if you have any questions! Thanks, Divya |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to train a model on very large videos (over 1,000,000 frames). The training never got past Epoch 1 because the computer does not have enough memory to run the whole video. Is there a way I can isolate just the frames I have already labelled to start training?
Thanks,
RP
Beta Was this translation helpful? Give feedback.
All reactions