GithubHelp home page GithubHelp logo

Comments (9)

mwk888 avatar mwk888 commented on May 18, 2024

@JimSEOW fyi I solved the tuple support problem by upgrading to VS2017

from tensorflowsharp.

JimSEOW avatar JimSEOW commented on May 18, 2024

@mwk888 I tried VS2017. As you said, it solve the tuple issue.
In VS2015, I need Microsoft.NET.Compilers to solve the tuple issue.

from tensorflowsharp.

JimSEOW avatar JimSEOW commented on May 18, 2024

@mwk888 I have used the latest PullRequest from you and the
t.TestOutputShape(); now works

Questions:
Are you still failing this?

t.WhileTest (); or it is just me?


[DllImport (NativeBinding.TensorFlowLibrary)]
static extern unsafe TFWhileParams TF_NewWhile (TF_Graph g, TFOutput [] inputs, int ninputs, 

from tensorflowsharp.

mwk888 avatar mwk888 commented on May 18, 2024

@JimSEOW yes test still fails for me too.

t.WhileTest() fails here:
TFWhileParams result = TF_NewWhile (handle, inputs, inputs.Length, cstatus.handle);
due to:
System.EntryPointNotFoundException: 'Unable to find an entry point named 'TF_NewWhile' in DLL 'libtensorflow'.'

I assume this means the TF_NewWhile extern signature is wrong? I did a quick comparison to the c_api.h declaration but I don't see the issue; it's a complicated signature though (big returned struct etc) I don't know enough about native dll binding to debug it

from tensorflowsharp.

JimSEOW avatar JimSEOW commented on May 18, 2024

@mwk888 new while was implemented 5 days ago

OK, at least I know I am not alone :-)

from tensorflowsharp.

JimSEOW avatar JimSEOW commented on May 18, 2024

@mwk888 the c_api.cc => with the TF_NewWhile was updated the latest 4 days ago has not been implemented into the distributed version 1.2 of libtensorflow-cpu-windows-x86_64-1.2.0-rc0

We could either compile now or wait for the next version of libtensorflow-cpu-windows-x86_64-1.2.0-rc0

from tensorflowsharp.

mwk888 avatar mwk888 commented on May 18, 2024

@JimSEOW cool, thanks for figuring it out. I'm lazy so I'm going to wait :)

from tensorflowsharp.

 avatar commented on May 18, 2024

tf

Hi friends, there is something error while installing nuget package. Do you have any idea about this? Please check screenshot first.

Note: build platform x64, Framework 4.6.1, VS2015

from tensorflowsharp.

Enxyphered avatar Enxyphered commented on May 18, 2024

@GameDistribution you need to copy the native tensorflowlib.dll and it's components to ur project and set it to copy always
I would recommend downloading the nuget package, extracting it using winrar, locate the folder native, open the folder, select everything within the folder and drag and drop them on top of the project within the solution explorer
Once you have done that select those native files and go to properties tab and change the "Copy to Output Directory" value to "Copy always"
After you have done that you can manually add the reference to the assembly dll by right clicking on reference within the project inside the solution explorer and clicking add reference. brows the dll and add it.

from tensorflowsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.