Skip to content

AttributeError when calling restart() of multithreadaugmentor #60

@fishfishson

Description

@fishfishson

Hi. I write my own dataloader according to your barts173D.py. However, when I run the code, the python will show something like
AttributeError: 'NoneType' object has no attribute 'is_alive'
from the resert() of tr_gen or specificly self._finish() of tr_gen.
So I skip the restart(), the system again shows the same error when the program ends from del.
I do not know why so I run your multithread_dataloading.py, everything goes well. But when adding restart() after "mt" at line 91, the system shows the same error.
Can you help me solving this problem?

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