Skip to content

Commit

Permalink
[Fix] Fix new config with read_base (#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tau-J authored Jul 4, 2023
1 parent 52e4925 commit 1681afb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Copyright (c) OpenMMLab. All rights reserved.
if '_base_':
from mmengine.config import read_base

with read_base():
from mmpose.configs._base_.default_runtime import *

from albumentations.augmentations import Blur, CoarseDropout, MedianBlur
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Copyright (c) OpenMMLab. All rights reserved.
if '_base_':
from mmengine.config import read_base

with read_base():
from mmpose.configs._base_.default_runtime import *

from albumentations.augmentations import Blur, CoarseDropout, MedianBlur
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Copyright (c) OpenMMLab. All rights reserved.
if '_base_':
from mmengine.config import read_base

with read_base():
from mmpose.configs._base_.default_runtime import *

from mmengine.dataset import DefaultSampler
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
if '_base_':
from mmengine.config import read_base

with read_base():
from ._base_.py_default_runtime import *

from datasets import (CocoDataset, FilterDetPoseAnnotations, PackDetPoseInputs,
Expand Down

0 comments on commit 1681afb

Please sign in to comment.