MxNet Sharp with NVidia RTX 3060


I am trying to run this example with VS2019 on GPU (with CPU it works)

with NVidia RTX 3060 with these packages

And I get this error

 Unhandled Exception: System.TypeInitializationException: The type initializer for 'MxNet.Operator' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libmxnet': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at MxNet.Interop.NativeMethods.MXSymbolListAtomicSymbolCreators(UInt32& out_size, IntPtr& out_array)
   at MxNet.OpMap..ctor()
   at MxNet.Operator..cctor()
   --- End of inner exception stack trace ---
   at MxNet.Operator..ctor(String operatorName)
   at MxNet.nd.Random.Normal(Single loc, Single scale, Shape shape, Context ctx, DType dtype)
   at DNNTest.Program.GetRandomData(Int32 size, Context ctx)

In this line

var x = nd.Random.Normal(0, 1, shape: new Shape(size, 10), ctx: ctx);

I have the mxnet.dll and libmxnet.dll files in the bin folder

asked on Stack Overflow Mar 16, 2021 by Mario M • edited Mar 16, 2021 by talonmies

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0