File size: 506 Bytes
f670afc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (C) 2021 NVIDIA CORPORATION & AFFILIATES.  All rights reserved.
#
# This work is made available under the Nvidia Source Code License-NC.
# To view a copy of this license, check out LICENSE.md
import torch


class Dataset(torch.utils.data.Dataset):
    r"""Dummy dataset, returns nothing."""

    def __init__(self, cfg, is_inference=False, is_test=False):
        super(Dataset, self).__init__()

    def __getitem__(self, index):
        return {}

    def __len__(self):
        return 65535