File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
"""Tests for coco_tools. """
2
2
import unittest
3
3
import numpy as np
4
- from lpot .metric .coco_tools import *
4
+ from lpot .experimental . metric .coco_tools import *
5
5
6
6
class TestCOCO (unittest .TestCase ):
7
7
@classmethod
Original file line number Diff line number Diff line change 2
2
import numpy as np
3
3
import unittest
4
4
from lpot .metric import METRICS
5
- from lpot .metric .f1 import evaluate
6
- from lpot .metric import bleu
5
+ from lpot .experimental . metric .f1 import evaluate
6
+ from lpot .experimental . metric import bleu
7
7
8
8
class TestMetrics (unittest .TestCase ):
9
9
def testBLEU (self ):
Original file line number Diff line number Diff line change 8
8
9
9
10
10
sys .path .append ('..' )
11
- from lpot .data .datasets .dataset import Dataset
11
+ from lpot .experimental . data .datasets .dataset import Dataset
12
12
from lpot .adaptor .ox_utils .onnxrt_mid import ONNXRTAugment
13
13
from lpot .data import DATASETS , DATALOADERS
14
14
Original file line number Diff line number Diff line change 6
6
import torchvision
7
7
import torch .nn as nn
8
8
9
- from lpot .data .datasets .dummy_dataset import PyTorchDummyDataset
10
- from lpot .data .dataloaders .pytorch_dataloader import PyTorchDataLoader
9
+ from lpot .experimental . data .datasets .dummy_dataset import PyTorchDummyDataset
10
+ from lpot .experimental . data .dataloaders .pytorch_dataloader import PyTorchDataLoader
11
11
12
12
def build_fake_yaml ():
13
13
fake_yaml = """
You can’t perform that action at this time.
0 commit comments