Giter Club home page Giter Club logo

fsharp-ai-tools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fsharp-ai-tools's Issues

Library reference is incorrect

In both .fsproj files, the following is found:

<Reference Include="..\lib\TensorFlow.Proto.dll" />

When I run the setup script, the file that is built into the lib folder is actually called

TensorFlow.FSharp.Proto.dll

A couple bugs related to Shape

Running df (v 3.0) |> DT.Eval (or similar) from dsl-live.fsx results in an error:

Cannot compute the partial derivative for node 'BroadcastTo' as it's unreachable from the output node(s).

As far as I can tell, this occurs only when evaluating scalar -> scalar derivatives. I've been able to narrow the error down to: https://github.com/fsprojects/TensorFlow.FSharp/blob/master/src/TensorFlow.FSharp/dsl.fs#L929


This tf { return (vec [1.0; 2.0]).[0..0] } no longer works as it returns a shape mismatch error. I guess maybe it's expecting a vector and is receiving a scalar?


Also, a question, it seems like tensor4 and tensor3 require that all dimensions are equal, is that correct?

Thanks

Readme example doesn't work

I'm trying to run the example code in README.md

let f (xs: DT<double>) = 
     sin (v 0.5 * sqr xs.[0] - v 0.25 * sqr xs.[1] + v 3.0) * -cos (v 2.0 * xs.[0] + v 1.0 - exp xs.[1])

and getting

error FS0001: The type 'DT<float>' does not support the operator 'Sin'

image

Would be nice to automatically annotate variables and operations

It would be nice if the F# bindings could automatically use the naming capabilities of TensorFlow for variables and other operations to when creating the graphs. That would allow Tensorboard to show the results directly without any human intervention.

Like this C# code:

graph.Const (Mean, "Mean")

Should just be "Mean" in F#

Bug in ImageClassifier.fsx

In the ImageClassifier.fsx example, the line below causes an error: Dimension -1 must be >= 0

let input_placeholder =
    graph.Placeholder
        (TFDataType.Float32, shape = TFShape(-1L, -1L, -1L, 3L),
         name = "new_input")

Removing the shape parameter allows the demo to run successfully. But something like this also works:

TFShape(Some ([|None; None; None; Some 3|] |> Array.map Dimension))

Should -1L be detected and mapped to None in the constructors, something like what happens in shape?

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.