Exemple #1
0
def test_detect(lt_ctx):
    params = MIBDataSet.detect_params(MIB_TESTDATA_PATH, lt_ctx.executor)["parameters"]
    assert params == {
        "path": MIB_TESTDATA_PATH,
        "nav_shape": (1024,),
        "sig_shape": (256, 256)
    }
def test_detect(lt_ctx):
    params = MIBDataSet.detect_params(MIB_TESTDATA_PATH,
                                      lt_ctx.executor)["parameters"]
    assert params == {
        "path": MIB_TESTDATA_PATH,
    }
Exemple #3
0
def test_detect():
    params = MIBDataSet.detect_params(MIB_TESTDATA_PATH)
    assert params == {"path": MIB_TESTDATA_PATH, "tileshape": (1, 3, 256, 256)}
Exemple #4
0
def test_detect(lt_ctx):
    params = MIBDataSet.detect_params(MIB_TESTDATA_PATH, lt_ctx.executor)
    assert params == {"path": MIB_TESTDATA_PATH, "tileshape": (1, 3, 256, 256)}