未验证 提交 22cf3837 编写于 作者: H huangjun12 提交者: GitHub

fix slowfast interface bug caused by the movement of hapi dir (#4834)

上级 08f3c0be
......@@ -20,8 +20,8 @@ import logging
import numpy as np
import paddle.fluid as fluid
from paddle.fluid.dygraph.base import to_variable
from paddle.io import DataLoader, Dataset
from paddle.incubate.hapi.distributed import DistributedBatchSampler, _all_gather
from paddle.io import DataLoader, Dataset, DistributedBatchSampler
from paddle.hapi.model import _all_gather
from paddle.fluid.dygraph.parallel import ParallelEnv
from model import *
......
......@@ -21,8 +21,8 @@ import numpy as np
import json
import paddle.fluid as fluid
from paddle.fluid.dygraph.base import to_variable
from paddle.io import DataLoader, Dataset
from paddle.incubate.hapi.distributed import DistributedBatchSampler, _all_gather
from paddle.io import DataLoader, Dataset, DistributedBatchSampler
from paddle.hapi.model import _all_gather
from paddle.fluid.dygraph.parallel import ParallelEnv
from model import *
......
......@@ -24,8 +24,7 @@ import random
import paddle
import paddle.fluid as fluid
from paddle.fluid.dygraph.base import to_variable
from paddle.io import DataLoader, Dataset
from paddle.incubate.hapi.distributed import DistributedBatchSampler
from paddle.io import DataLoader, Dataset, DistributedBatchSampler
from model import *
from config_utils import *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册