pip3 install hub[video]
pip3 install hub[all]
./running_walking_hub
folder by running:./running_walking
to find the class names and the files that need to be uploaded to the Hub dataset.video
and image
htypes
is that Hub does not explicitly perform compression for videos. The sample_compression
input in the create_tensor
function is used to verify that the compression of the input video file to hub.read()
matches the sample_compression
parameter. If there is a match, the video is uploaded in compressed format. Otherwise, an error is thrown. sample_compression
format.class_names
must be a list of strings, where the numerical labels correspond to the index of the label in the list.