https://github.com/facebookresearch/pythia
Raw File
Tip revision: dabf95f523cd07e93380c6931e5140ade0f50b2f authored by Sethu Sankaran on 26 October 2021, 19:18:43 UTC
Revert D30704069: [feat] Add a refiner head that can be used with MMFT
Tip revision: dabf95f
file_io.py
# Copyright (c) Facebook, Inc. and its affiliates.

from iopath.common.file_io import PathManager as pm


PathManager = pm()

try:
    # [FB only] register internal file IO handlers
    from mmf.utils.fb.file_io_handlers import register_handlers

    register_handlers(PathManager)
except ImportError:
    pass
back to top