From 6afe6ff3504c9c7729da737b1c21ddc5f8904e00 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Sat, 27 Mar 2021 21:34:07 +0900 Subject: [PATCH] More test tags/fixes --- .../main/java/org/datavec/image/loader/NativeImageLoader.java | 2 ++ .../text/documentiterator/FilenamesLabelAwareIteratorTest.java | 2 ++ .../java/org/nd4j/autodiff/opvalidation/MiscOpValidation.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/datavec/datavec-data/datavec-data-image/src/main/java/org/datavec/image/loader/NativeImageLoader.java b/datavec/datavec-data/datavec-data-image/src/main/java/org/datavec/image/loader/NativeImageLoader.java index 6f2424445..600e87cca 100644 --- a/datavec/datavec-data/datavec-data-image/src/main/java/org/datavec/image/loader/NativeImageLoader.java +++ b/datavec/datavec-data/datavec-data-image/src/main/java/org/datavec/image/loader/NativeImageLoader.java @@ -65,6 +65,8 @@ public class NativeImageLoader extends BaseImageLoader { * Loads images with no scaling or conversion. */ public NativeImageLoader() { + converter = new OpenCVFrameConverter.ToMat(); + } /** diff --git a/deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/test/java/org/deeplearning4j/text/documentiterator/FilenamesLabelAwareIteratorTest.java b/deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/test/java/org/deeplearning4j/text/documentiterator/FilenamesLabelAwareIteratorTest.java index 852cb1913..3bf3567b7 100644 --- a/deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/test/java/org/deeplearning4j/text/documentiterator/FilenamesLabelAwareIteratorTest.java +++ b/deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/test/java/org/deeplearning4j/text/documentiterator/FilenamesLabelAwareIteratorTest.java @@ -42,6 +42,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @Tag(TagNames.FILE_IO) @NativeTag +@Tag(TagNames.NEEDS_VERIFY) +@Disabled("Permissions issues on CI") public class FilenamesLabelAwareIteratorTest extends BaseDL4JTest { diff --git a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/opvalidation/MiscOpValidation.java b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/opvalidation/MiscOpValidation.java index 1fb0921b0..133f1a098 100644 --- a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/opvalidation/MiscOpValidation.java +++ b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/opvalidation/MiscOpValidation.java @@ -501,6 +501,8 @@ public class MiscOpValidation extends BaseOpValidation { @ParameterizedTest @MethodSource("org.nd4j.linalg.BaseNd4jTestWithBackends#configs") + @Tag(TagNames.LONG_TEST) + @Tag(TagNames.LARGE_RESOURCES) public void testGatherGradient(Nd4jBackend backend) { Nd4j.getRandom().setSeed(12345);