Relative imports

This commit is contained in:
LysandreJik 2019-09-24 09:52:25 -04:00
parent f09e5ecef0
commit 0b82e3d0d9
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from glue import (ColaProcessor,
from .glue import (ColaProcessor,
MnliProcessor,
MnliMismatchedProcessor,
MrpcProcessor,
@ -27,7 +27,7 @@ from glue import (ColaProcessor,
convert_examples_to_glue_features,
)
from utils import DataProcessor, simple_accuracy, acc_and_f1, pearson_and_spearman, compute_metrics
from .utils import DataProcessor, simple_accuracy, acc_and_f1, pearson_and_spearman, compute_metrics
processors = {
"cola": ColaProcessor,

View File

@ -15,7 +15,7 @@
# limitations under the License.
""" GLUE processors and helpers """
from utils import DataProcessor
from .utils import DataProcessor
import logging
import os