Traceback (most recent call last):


 "img_classifier-ULMFiTStrategy.py", line 118, in <module>

finetune(args)


 "img_classifier-ULMFiTStrategy.py", line 108, in finetune

task.finetune_and_eval()


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 864, in finetune_and_eval

return self.finetune(do_eval=True)


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 879, in finetune

self.init_if_necessary()


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 367, in init_if_necessary

if not self.load_checkpoint():


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 833, in load_checkpoint

main_program=self.main_program)


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 508, in main_program

self._build_env()


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/task/base_task.py", line 425, in _build_env

self.device_count)


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/strategy.py", line 477, in execute

self.depth_params_dict = get_depth_parameter(self.main_program)


 "/home/sam.yi/.local/lib/python3.7/site-packages/paddlehub/finetune/strategy.py", line 112, in get_depth_parameter

updated_depth_params_dict[depth].append(
KeyError: 6

Traceback (most recent call last):


 "split_no.py", line 95, in <module>

import matplotlib.pyplot as plt


 "/usr/local/lib/python3.6/site-packages/matplotlib/__init__.py", line 134, in <module>

import subprocess


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 142, in <module>

import dummy_threading as threading


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/dummy_threading.py", line 45, in <module>

import threading


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 7, in <module>

from traceback import format_exc as _format_exc
ImportError: cannot import name 'format_exc'
