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, }
def test_detect(): params = MIBDataSet.detect_params(MIB_TESTDATA_PATH) assert params == {"path": MIB_TESTDATA_PATH, "tileshape": (1, 3, 256, 256)}
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)}