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?