提交 fec9c009 编写于 作者: W wangxiao1021

fix bugs

上级 7a47bd0a
import downloader
from . import downloader
# from mtl_controller import Controller
#import controller
import optimizer
import lr_sched
import backbone
import reader
import head
from . import optimizer
from . import lr_sched
from . import backbone
from . import reader
from . import head
from trainer import Trainer
from multihead_trainer import MultiHeadTrainer
from .trainer import Trainer
from .multihead_trainer import MultiHeadTrainer
#del interface
#del task_instance
......
from ernie import ERNIE
from bert import BERT
from .ernie import ERNIE
from .bert import BERT
......@@ -5,5 +5,5 @@ import multiprocessing
gpu_dev_count = int(fluid.core.get_cuda_device_count())
cpu_dev_count = int(os.environ.get('CPU_NUM', multiprocessing.cpu_count()))
from reader import yield_pieces, data_feeder, decode_fake
from .reader import yield_pieces, data_feeder, decode_fake
from _downloader import *
\ No newline at end of file
from ._downloader import *
from cls import Classify
from match import Match
from ner import SequenceLabel
from mrc import MRC
from mlm import MaskLM
from .cls import Classify
from .match import Match
from .ner import SequenceLabel
from .mrc import MRC
from .mlm import MaskLM
from slanted_triangular_schedualer import TriangularSchedualer
from warmup_schedualer import WarmupSchedualer
from .slanted_triangular_schedualer import TriangularSchedualer
from .warmup_schedualer import WarmupSchedualer
from adam import Adam
from .adam import Adam
from cls import ClassifyReader
from match import MatchReader
from seq_label import SequenceLabelReader
from mrc import MRCReader
from mlm import MaskLMReader
from .cls import ClassifyReader
from .match import MatchReader
from .seq_label import SequenceLabelReader
from .mrc import MRCReader
from .mlm import MaskLMReader
import basic_helper
import config_helper
from . import basic_helper
from . import config_helper
......@@ -2,7 +2,7 @@
import os
import json
import yaml
from config_helper import PDConfig
from .config_helper import PDConfig
import logging
from paddle import fluid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册