Skip to content

AttributeError: 'NoneType' object has no attribute 'dumps' #2

@dminustin

Description

@dminustin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions