Giter Site home page Giter Site logo

Comments (4)

VolodymyrChechel avatar VolodymyrChechel commented on August 13, 2024

Did you solve this problem?

from customvision-tensorflow-csharp.

DiegoVil avatar DiegoVil commented on August 13, 2024

I have the same issue. As soon as I arrive to this line : runner.AddInput(graph["Placeholder"][0], tensor).Fetch(graph["loss"][0]); I have "Object reference not set to an instance of an object." exception.This happens when I use my own model with my own labels. Maybe I am missing something. And agree is great project.

{System.NullReferenceException: Object reference not set to an instance of an object.
at CustomVisionCLI.CustomVision.Main() in C:\Users\XXXX\YYYYY\CustomVision-TensorFlow-CSharp-master\CustomVision-TensorFlow-CSharp-master\CustomVision.cs:line 50
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at PowerArgs.ObjectEx.InvokeMainMethod(Object o)
at PowerArgs.Args.<>c__DisplayClass15_1.b__1()
at PowerArgs.Args.Execute[T](Func1 argsProcessingCode) at PowerArgs.Args.<>c__DisplayClass15_0.<InvokeMain>b__0(String[] a) at PowerArgs.REPL.DriveREPL[T](TabCompletion t, Func2 eval, String[] args, Func`1 defaultEval)
at PowerArgs.Args.InvokeMain(CommandLineArgumentsDefinition definition, String[] args)
at PowerArgs.Args.InvokeMain[T](String[] args)
at CustomVisionCLI.Program.Main(String[] args) in C:\Users\XXX\YYYY\CustomVision-TensorFlow-CSharp-master\CustomVision-TensorFlow-CSharp-master\Program.cs:line 8}

from customvision-tensorflow-csharp.

DiegoVil avatar DiegoVil commented on August 13, 2024

Ok, I know the reason of this problem. YOu need to do the project in customvision.ai from the beginning. In my previous test I have changed one iteration to compact.

from customvision-tensorflow-csharp.

daltskin avatar daltskin commented on August 13, 2024

Correct - this is for CustomVision.ai projects only.

from customvision-tensorflow-csharp.

Related Issues (3)

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.