Skip to content

Commit

Permalink
AutoMM: Fix crash due to undefined DataContainer (open-mmlab#2630)
Browse files Browse the repository at this point in the history
* Fix crash due to undefined DataContainer

* fixed lint error
  • Loading branch information
Innixma authored Jan 4, 2023
1 parent d8272e0 commit b418cab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions multimodal/src/autogluon/multimodal/utils/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
import torch
from torch import nn

try:
from mmcv.parallel import DataContainer
except:
pass

from ..constants import AUTOMM, OBJECT_DETECTION, OCR
from .mmcv import DataContainer

logger = logging.getLogger(AUTOMM)

Expand Down

0 comments on commit b418cab

Please sign in to comment.