SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.37k stars 192 forks source link

The type 'NDArray' exists in both 'NumSharp.Core #399

Closed Mghobadid closed 4 years ago

Mghobadid commented 4 years ago

after update package i faced with this error Severity Code Description Project File Line Suppression State Error CS0433 The type 'NDArray' exists in both 'NumSharp.Core, Version=0.20.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'NumSharp.Lite, Version=0.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' WpfApp1 H:\xxxx\xxx\MainWindow.xaml.cs 135 Active

Oceania2018 commented 4 years ago

What libraries are you using? Do you use tf.net and SharpCV? I changed these two libraries to NumSharp.Lite.

Mghobadid commented 4 years ago

i use this libraries NumSharp => 0.20.5 SciSharp.TensorFlow.Redist =>1.15.0 SharpCV =>0.40 TensorFlow.NET =>0.14.2

Oceania2018 commented 4 years ago

You can downgrade SharpCV to 0.3.2.

pavelsavara commented 4 years ago

This problem shows again when you want to use https://www.nuget.org/packages/TensorFlow.NET/0.15.1 together with https://www.nuget.org/packages/NumSharp/0.20.5

Any advice ?