apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.75k stars 6.8k forks source link

[bug] training end report recordio.py super error #21156

Open wangjiangben-hw opened 1 year ago

wangjiangben-hw commented 1 year ago

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 ```
github-actions[bot] commented 1 year ago

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.