Commit 0b82e3d0 authored by LysandreJik's avatar LysandreJik
Browse files

Relative imports

parent f09e5ece
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from glue import (ColaProcessor, from .glue import (ColaProcessor,
MnliProcessor, MnliProcessor,
MnliMismatchedProcessor, MnliMismatchedProcessor,
MrpcProcessor, MrpcProcessor,
...@@ -27,7 +27,7 @@ from glue import (ColaProcessor, ...@@ -27,7 +27,7 @@ from glue import (ColaProcessor,
convert_examples_to_glue_features, 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 = { processors = {
"cola": ColaProcessor, "cola": ColaProcessor,
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
# limitations under the License. # limitations under the License.
""" GLUE processors and helpers """ """ GLUE processors and helpers """
from utils import DataProcessor from .utils import DataProcessor
import logging import logging
import os import os
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment