DeepMoji / examples /example_helper.py
Pendrokar's picture
torchmoji code
86a83a2
raw
history blame
204 Bytes
""" Module import helper.
Modifies PATH in order to allow us to import the torchmoji directory.
"""
import sys
from os.path import abspath, dirname
sys.path.insert(0, dirname(dirname(abspath(__file__))))