deepakkumar1984 / MxNet.Sharp

.NET Standard bindings for Apache MxNet with Imperative, Symbolic and Gluon Interface for developing, training and deploying Machine Learning models in C#. https://mxnet.tech-quantum.com/
Apache License 2.0
149 stars 8 forks source link

libmxnet #43

Open evo11x opened 3 years ago

evo11x commented 3 years ago

Hi, I see that you are working hard, every day the files are updated.

I have tried to compile the entire master source with the regression example and I am getting this error

Unhandled exception. System.DllNotFoundException: Unable to load DLL 'libmxnet' or one of its dependencies: The specified module could not be found. (0x8007007E)
   at MxNet.Interop.NativeMethods.MXNDArrayCreate64(Int32[] shape, Int32 ndim, DeviceType devType, Int32 devId, Int32 delayAlloc, Int32 dtype, IntPtr& out)

Where can I get the libmxnet ?

deepakkumar1984 commented 3 years ago

Hi, you need to add the this nuget as well: https://www.nuget.org/packages/MxNet.Runtime.Redist/2.0.0.2-alpha

I will update the project to include the reference

On Mon, Apr 19, 2021 at 8:08 PM evo11x @.***> wrote:

Hi, I see that you are working hard, every day the files are updated.

I have tried to compile the entire master source with the regression example and I am getting this error

Unhandled exception. System.DllNotFoundException: Unable to load DLL 'libmxnet' or one of its dependencies: The specified module could not be found. (0x8007007E) at MxNet.Interop.NativeMethods.MXNDArrayCreate64(Int32[] shape, Int32 ndim, DeviceType devType, Int32 devId, Int32 delayAlloc, Int32 dtype, IntPtr& out)

Where can I get the libmxnet ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deepakkumar1984/MxNet.Sharp/issues/43, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJAKKEA244B7O2V7WSVMDTJQB2TANCNFSM43FRZHRQ .

-- Regards, Deepak

evo11x commented 3 years ago

Thanks, I got it. Now I get this error:

[15:19:16] C:\Jenkins\workspace\mxnet\mxnet\src\storage\storage.cc:199: Using Pooled (Naive) StorageManager for CPU
Unhandled exception. MxNet.MXNetException: Check failed: -1 == 0 MXNetError: Operator _div_scalar inferring shapes failed.
input shapes:
[4295027296,120259084316,-1,-1]
output shapes:
[4295027296,120259084316,-1,-1]
operator attributes:
scalar : 255
__profiler_scope__ : <unk>:
Stack trace:
  File "c:\jenkins\workspace\mxnet\mxnet\src\imperative\./imperative_utils.h", line 224
 at MxNet.Operator.Invoke(NDArrayList outputs) in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\Sym\Operator.cs:line 230
   at MxNet.Operator.Invoke() in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\Sym\Operator.cs:line 180
   at MxNet.nd.DivScalar(NDArray data, Single scalar) in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\NDArray\Ops.cs:line 1648
   at MxNet.NDArray.op_Division(NDArray lhs, Single scalar) in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\NDArray\NDArray.cs:line 935
   at MxNet.TestUtils.read_data(String label_url, String image_url, Int32 n) in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\TestUtils.cs:line 290
   at MxNet.TestUtils.GetMNIST() in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\TestUtils.cs:line 244
   at MNIST.GluonDemo.RunSimple() in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\examples\MNIST\GluonDemo.cs:line 19
   at MNIST.Program.Main(String[] args) in C:\Temp\MxNet.Sharp-master\MxNet.Sharp-master\examples\MNIST\Program.cs:line 8

jenkins is not my folder

deepakkumar1984 commented 3 years ago

This is a prerelease version of MxNet in alpha stage so getting the folder loggings, that will be removed once 2.0 is officially released. I will look into the shape failed issue.

On Mon, Apr 19, 2021 at 9:50 PM evo11x @.***> wrote:

Thanks, I got it. Now I get this error:

[15:19:16] C:\Jenkins\workspace\mxnet\mxnet\src\storage\storage.cc:199: Using Pooled (Naive) StorageManager for CPU Unhandled exception. MxNet.MXNetException: Check failed: -1 == 0 MXNetError: Operator _div_scalar inferring shapes failed. input shapes: [4295027296,120259084316,-1,-1] output shapes: [4295027296,120259084316,-1,-1] operator attributes: scalar : 255 __profiler_scope__ : : Stack trace: File "c:\jenkins\workspace\mxnet\mxnet\src\imperative./imperative_utils.h", line 224

jenkins is not my folder

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/deepakkumar1984/MxNet.Sharp/issues/43#issuecomment-822423332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQJAKKHQDP7TTKPBIYOO4TTJQN2TANCNFSM43FRZHRQ .

-- Regards, Deepak

BayanAktanova commented 1 year ago

Hello, Could you please provide a date for the new release? We also have this issue: MxNet.MXNetException HResult=0x80131500 Message=Check failed: -1 == 0 MXNetError: Operator _div_scalar inferring shapes failed. input shapes: [4295027296,120259084316,-1,-1] output shapes: [4295027296,120259084316,-1,-1] operator attributes: scalar : 255 __profiler_scope__ : : Stack trace: File "c:\jenkins\workspace\mxnet\mxnet\src\imperative./imperative_utils.h", line 224

Source=MxNet StackTrace: at MxNet.Operator.Invoke(NDArrayList outputs) in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\Sym\Operator.cs:line 230 at MxNet.Operator.Invoke() in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\Sym\Operator.cs:line 179 at MxNet.nd.DivScalar(NDArray data, Single scalar) in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\NDArray\Ops.cs:line 1648 at MxNet.NDArray.op_Division(NDArray lhs, Single scalar) in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\NDArray\NDArray.cs:line 935 at MxNet.TestUtils.read_data(String label_url, String image_url, Int32 n) in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\TestUtils.cs:line 290 at MxNet.TestUtils.GetMNIST() in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\src\MxNet\TestUtils.cs:line 244 at MNIST.GluonDemo.RunSimple() in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\examples\MNIST\GluonDemo.cs:line 19 at MNIST.Program.Main(String[] args) in C:\Users\Kazdream\Downloads\MxNet.Sharp-master\MxNet.Sharp-master\examples\MNIST\Program.cs:line 7

deepakkumar1984 commented 1 year ago

I am not getting enough free time, thats the main reason this project is not activeily maintained. This is just working when have free time, this work doesn't give me any money or credibility.