From 5e5a56ea3dd3629d15666b9b24f898cf9f7bc9ee Mon Sep 17 00:00:00 2001 From: Kyle Daruwalla Date: Sun, 19 Jun 2022 21:57:32 +0530 Subject: [PATCH] Use acctest for efficient net --- test/convnets.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/convnets.jl b/test/convnets.jl index 3b58d7122..1638684b9 100644 --- a/test/convnets.jl +++ b/test/convnets.jl @@ -77,7 +77,7 @@ GC.gc() m = EfficientNet(name) @test size(m(x)) == (1000, 1) if (EfficientNet, name) in PRETRAINED_MODELS - @test (EfficientNet(name, pretrain = true); true) + @test acctest(EfficientNet(name, pretrain = true)) else @test_throws ArgumentError EfficientNet(name, pretrain = true) end