n.py 451 Bytes
Newer Older
limm's avatar
limm committed
1
2
3
4
5
6
7
# Copyright (c) OpenMMLab. All rights reserved.
import os.path as osp


def func(x):
    return x

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
test_item1 = [1, 2]
bool_item2 = True
str_item3 = 'test'
dict_item4 = dict(
    a={
        'c/d': 'path/d',
        'f': 's3//f',
        6: '2333',
        '2333': 'number'
    },
    b={'8': 543},
    c={9: 678},
    d={'a': 0},
    f=dict(a='69'))
dict_item5 = {'x/x': {'a.0': 233}}
dict_list_item6 = {'x/x': [{'a.0': 1., 'b.0': 2.}, {'c/3': 3.}]}