Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dminustin opened this issue Jun 4, 2021 · 0 comments
Open

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

dminustin opened this issue Jun 4, 2021 · 0 comments

Comments

@dminustin
Copy link

dminustin commented Jun 4, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant