SpursLipu / YOLOv3v4-ModelCompression-MultidatasetTraining-Multibackbone

YOLO ModelCompression MultidatasetTraining
GNU General Public License v3.0
444 stars 136 forks source link

AttributeError: module 're' has no attribute 'compile' #68

Closed Note-Liu closed 3 years ago

Note-Liu commented 3 years ago

Traceback (most recent call last): File "train.py", line 1, in import argparse File "/home/anaconda2/envs/py37/lib/python3.7/argparse.py", line 87, in import re as _re File "/home/anaconda2/envs/py37/lib/python3.7/re.py", line 124, in import enum File "/home/anaconda2/envs/py37/lib/python3.7/enum.py", line 2, in from types import MappingProxyType, DynamicClassAttribute File "/train/trainset/1/yolov3/types.py", line 1, in import json File "/home/anaconda2/envs/py37/lib/python3.7/json/init.py", line 106, in from .decoder import JSONDecoder, JSONDecodeError File "/home/anaconda2/envs/py37/lib/python3.7/json/decoder.py", line 5, in from json import scanner File "/home/anaconda2/envs/py37/lib/python3.7/json/scanner.py", line 11, in NUMBER_RE = re.compile( AttributeError: module 're' has no attribute 'compile'