Hello!
First, dataset in
train_dataset = VideoClsCustom(root=dataset_path, setting=f'{dataset_path}/_train.txt',
_train.txt must have following format:
filename num_of_frames label_id
There is only filenames in your example
But it is not an issue.
I tried to run your code provided and I nave an error:
`python3 ./train.py
Versions:
mxnet: 1.8.0
decord: 0.5.2
gluoncv: 0.10.1.post0
Load 700 training samples.
Exception ignored in: <function DataLoader.del at 0x7fce214f1dc0>
Traceback (most recent call last):
File "/home/danila/.local/lib/python3.8/site-packages/mxnet/gluon/data/dataloader.py", line 660, in del
AttributeError: 'NoneType' object has no attribute 'Pool'
Exception ignored in: <function Pool.del at 0x7fce33561c10>
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/pool.py", line 268, in del
File "/usr/lib/python3.8/multiprocessing/queues.py", line 362, in put
AttributeError: 'NoneType' object has no attribute 'dumps'`
And I have no ideas to solve it((
However thank you for your example!
Hello!
First, dataset in
train_dataset = VideoClsCustom(root=dataset_path, setting=f'{dataset_path}/_train.txt',_train.txt must have following format:
filename num_of_frames label_id
There is only filenames in your example
But it is not an issue.
I tried to run your code provided and I nave an error:
`python3 ./train.py
Versions:
mxnet: 1.8.0
decord: 0.5.2
gluoncv: 0.10.1.post0
Load 700 training samples.
Exception ignored in: <function DataLoader.del at 0x7fce214f1dc0>
Traceback (most recent call last):
File "/home/danila/.local/lib/python3.8/site-packages/mxnet/gluon/data/dataloader.py", line 660, in del
AttributeError: 'NoneType' object has no attribute 'Pool'
Exception ignored in: <function Pool.del at 0x7fce33561c10>
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/pool.py", line 268, in del
File "/usr/lib/python3.8/multiprocessing/queues.py", line 362, in put
AttributeError: 'NoneType' object has no attribute 'dumps'`
And I have no ideas to solve it((
However thank you for your example!