Traceback (most recent call last):


 "train.py", line 1, in <module>

import argparse


 "/home/anaconda2/envs/py37/lib/python3.7/argparse.py", line 87, in <module>

import re as _re


 "/home/anaconda2/envs/py37/lib/python3.7/re.py", line 124, in <module>

import enum


 "/home/anaconda2/envs/py37/lib/python3.7/enum.py", line 2, in <module>

from types import MappingProxyType, DynamicClassAttribute


 "/train/trainset/1/yolov3/types.py", line 1, in <module>

import json


 "/home/anaconda2/envs/py37/lib/python3.7/json/__init__.py", line 106, in <module>

from .decoder import JSONDecoder, JSONDecodeError


 "/home/anaconda2/envs/py37/lib/python3.7/json/decoder.py", line 5, in <module>

from json import scanner


 "/home/anaconda2/envs/py37/lib/python3.7/json/scanner.py", line 11, in <module>

NUMBER_RE = re.compile(
AttributeError: module 're' has no attribute 'compile'
Traceback (most recent call last):


 "train.py", line 532, in <module>

train(hyp, opt, device, tb_writer, wandb)


 "train.py", line 154, in train

ema.ema.load_state_dict(ckpt['ema'].float().state_dict())
AttributeError: 'tuple' object has no attribute 'float'
