HumanSD / mmpretrain /structures /multi_task_data_sample.py
liyy201912's picture
Upload folder using huggingface_hub
cc0dd3c
raw
history blame contribute delete
212 Bytes
# Copyright (c) OpenMMLab. All rights reserved.
from mmengine.structures import BaseDataElement
class MultiTaskDataSample(BaseDataElement):
@property
def tasks(self):
return self._data_fields