<filename>mypath.py
class Path(object):
    @staticmethod
    def db_dir(database):
        if database == 'ucf101':
            # folder that contains class labels
            root_dir = '/home/hadi/Documents/ai/action_recognition/dataset/UCF101'

            # Save preprocess data into output_dir
            output_dir = '/home/hadi/Documents/ai/action_recognition/pytorch-video-recognition/data/ucf'

            return root_dir, output_dir
        elif database == 'hmdb51':
            # folder that contains class labels
            root_dir = '/Path/to/hmdb-51'

            output_dir = '/path/to/VAR/hmdb51'

            return root_dir, output_dir
        else:
            print('Database {} not available.'.format(database))
            raise NotImplementedError

    @staticmethod
    def model_dir():
        return '/home/hadi/Documents/ai/c3d-pretrained.pth'
<filename>mypath.py
class Path(object):
    @staticmethod
    def db_dir(database):
        if database == 'ucf101':
            # folder that contains class labels
            root_dir = '/home/hadi/Documents/ai/action_recognition/dataset/UCF101'

            # Save preprocess data into output_dir
            output_dir = '/home/hadi/Documents/ai/action_recognition/pytorch-video-recognition/data/ucf'

            return root_dir, output_dir
        elif database == 'hmdb51':
            # folder that contains class labels
            root_dir = '/Path/to/hmdb-51'

            output_dir = '/path/to/VAR/hmdb51'

            return root_dir, output_dir
        else:
            print('Database {} not available.'.format(database))
            raise NotImplementedError

    @staticmethod
    def model_dir():
        return '/home/hadi/Documents/ai/c3d-pretrained.pth'
# folder that contains class labels # Save preprocess data into output_dir # folder that contains class labels