Visual-Behavior / aloception-oss

Aloception is a set of package for computer vision: aloscene, alodataset, alonet.
Other
92 stars 7 forks source link

alobugdays : Issue15 Autodetermine Temporal position when calling .temporal() #263

Closed ragier closed 1 year ago

ragier commented 1 year ago

General description of your pull request with the list of new features and/or bugs.

>>frame = aloscene.Frame(np.random.uniform(0, 1, (3, 50, 100)), names=("C", "H", "W"))
>>frame = aloscene.Frame.batch_list([frame, frame.clone()])
>>frame = frame.temporal()
>>print(f"names: {frame.names}\nshape: {frame.shape}")
names: ('B', 'T', 'C', 'H', 'W')
shape: torch.Size([2, 1, 3, 50, 100])

This pull request includes