apache/mxnet

[bug] training end report recordio.py super error

wangjiangben-hw opened this issue · 1 comments

Description

When the training is over, the following error is reported in Error Message..

Error Message

Exception ignored in: <function MXRecordIO.del at 0xfffef6becb00>
Traceback (most recent call last):
File "xxxxxxx/mxnet/recordio.py", line 88, in del
File "xxxxxxx/mxnet/recordio.py", line 262, in close
TypeError: super() arguement 1 must be type, not None
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dataset/xxxx/' mode='r' recoding='UTF-8'>

To Reproduce

mxnet=1.9.1

Steps to reproduce

(Paste the commands you ran that produced the error.)

  1. training with https://github.com/deepinsight/insightface/tree/master/recognition/arcface_torch

What have you tried to solve it?

Environment

We recommend using our script for collecting the diagnostic information with the following command
curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3

Environment Information
# Paste the diagnose.py command output here

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue.
Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly.
If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.