Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Amine Chadly
    @chaami_gitlab
    I have create a pull request, but so far I have only tested that the example project runs successfully when depending on the CPU nuget.
    Johnathan Ingle
    @jingle1000
    @Nucs That helps, thanks!
    Brendan Mulcahy
    @BrendanMulcahy
    Does Keras.NET have a runtime dependency on python or just at build time?
    Haiping
    @Oceania2018
    @BrendanMulcahy Have to install python runtime.
    Brendan Mulcahy
    @BrendanMulcahy
    I see, not ideal for my use case :)
    I can stick with TensorFlow.NET
    The KerasNetCore in TensorFlow.NET will basically become Keras implemented fully using the constructs from TensorFlow.NET, correct?
    Haiping
    @Oceania2018
    @BrendanMulcahy KerasNetCore is written by @arnavdas88 . He may give you best answer.
    Arnav Das
    @arnavdas88
    @BrendanMulcahy The KerasNetCore will be implemented as the native keras I will complete it when I will get time.... Right now the backend of KerasNetCore is not similar to that of the real keras... It is kind of an example thing but I will add a PR for the keras soon....
    Brendan Mulcahy
    @BrendanMulcahy
    Sounds cool, looking forward to that!
    Arnav Das
    @arnavdas88
    @BrendanMulcahy what's your use case anyway....?? You said that dependency on python is not ideal for your use case...??
    Brendan Mulcahy
    @BrendanMulcahy
    I’m working on building a computer game using machine learning. I don’t want the installation process to be very complicated (to reduce error rates, etc.)
    I linked a YouTube video somewhere above showing my prototype game
    Eli Belash
    @Nucs
    Do you use Unity engine?
    Brendan Mulcahy
    @BrendanMulcahy
    I’m currently using TensorFlowSharp and a Keras wrapper for that, but the api quality is pretty low and there are tons of issues
    The prototype is using Unity yeah, I started out with their ml-agents library but the library didn’t really work how I wanted it to so I ditched that
    Im dumping Unity for something a little more lightweight, since Im going to need as many CPU cycles as possible to be running the network training :)
    Brendan Mulcahy
    @BrendanMulcahy
    I've got another completely free weekend coming up, so I'll keep plugging along on some of the neural net architectures I have been exploring. I will submit PRs when I find problems and know how to fix them and I can open issues if they are above my head
    Eli Belash
    @Nucs
    πŸ‘
    Brendan Mulcahy
    @BrendanMulcahy
    Im really interested in getting a working example of temporal convolutional network going. I think the performance could be a lot better than RNNs
    Eli Belash
    @Nucs
    RNNs are extremely slow, CNNs can be 30 times fasters on CPU and even faster on GPU
    Im refering to the learning process but I'm quite sure prediction time are faster too
    Brendan Mulcahy
    @BrendanMulcahy
    Yeah exactly, super interesting area of work. I couldnt get the TCN working for my prototype so I ended up adding a sliding windows where I averaged the input and output action (i.e. adding momentum to the agents decisions) and that worked surprisingly well considering how low tech a solution it was :D
    Eli Belash
    @Nucs
    Normalizing (in one way or an other) the input and output is indeed surprisingly powerful, accuracy-wise
    Johnathan Ingle
    @jingle1000
    @BrendanMulcahy What other game engine were you thinking of using if you are planning on dumping unity? I don't know many .NET game engines other than unity and godot
    Semih
    @butcher211
    Hi guys, can you please answer me following short question: Is the Object Detection API yet implemented that I can use it in my C# projects/solutions? I need to use TensorFlow and Darknet at the same time for my master degree's project. I mean this one: https://github.com/tensorflow/models/tree/master/research/object_detection
    Semih
    @butcher211
    thank you! <3 If you are interested I would like to inform you when im finished with my implementation part. (Q1 2020) Maybe it could help the community then
    Haiping
    @Oceania2018
    @butcher211 Welcome to PR if you do it base on tf.net.
    cyeduarte
    @cyeduarte
    I installed numsharp using Nuget for my Unity project, but it seems Unity can't read or find the package. I get the error: "The type or namespace name 'NumSharp' could not be found".
    Brendan Mulcahy
    @BrendanMulcahy
    @jingle1000 Monogame
    Brendan Mulcahy
    @BrendanMulcahy

    I installed numsharp using Nuget for my Unity project, but it seems Unity can't read or find the package. I get the error: "The type or namespace name 'NumSharp' could not be found".

    I don't believe you can use Unity and nuget directly. Create another project and install the package, then manually copy the DLLs into your Unity project

    Haiping
    @Oceania2018
    TensorFlow RC released: https://www.tensorflow.org/beta
    Haiping
    @Oceania2018
    image.png
    @Nucs ml.net need this function to be public, if not, which function is the alternative one? and ml.net use the c_api directly to do inferring(scoring) task. So we can't make c_api interface to be private. Any more reason, we can discuss with @codemzs .
    Kevin Malenfant
    @kevmal
    Are the 'gen_*.cs' files actually generated? I know 'gen_ops.cs' was, but looking at a commit from yesterday it looks like decode_gif, decode_png and so on were manually added to 'gen_image_ops.py.cs' while already being defined in gen_ops.cs?
    Haiping
    @Oceania2018
    @kevmal I manually to add them. for tf2.0, we'll try to generate them.
    Sergio Pedri
    @Sergio0694
    Hey @Oceania2018, @henon and others that might be interested, I've finally published ComputeSharp to NuGet, it's available as version 1.0.0-alpha4.
    Took a while as I wanted to make sure a first release was stable enough, and because it took some time to properly include all the necessary references.
    If anyone wants to give it a try, let me know how it goes! πŸ˜„
    The repo is this one, for those that missed my previous post: https://github.com/Sergio0694/ComputeSharp
    Meinrad Recheis
    @henon
    Hey @Sergio0694, thanks for the info. Btw: what was your motivation for building the library? Do you have other use cases except NeuralNetwork.NET?
    Sergio Pedri
    @Sergio0694
    Hey @henon - sure, no problem! If you try it out, let me know how it works for you πŸ‘
    As for why I built this, pretty much the same as with NeuralNetwork.NET: to learn new things, to challenge myself and for fun, and because I love building stuff in general 😊
    Plus I loved how Alea.Gpu used to work and I've always wanted something like that that was easy to use, so since there wasn't an alternative I though I might as well just give it a shot and build that myself
    Meinrad Recheis
    @henon
    you rock :thumbsup:
    Eli Belash
    @Nucs
    Congratulation on the release :)
    Amine Chadly
    @chaami_gitlab
    Congrats Sergio ! :confetti_ball:
    Sergio Pedri
    @Sergio0694
    Ahahah thank you so much for the support guys, I really appreciate it! πŸ˜„πŸ»
    Zeeshan Siddiqui
    @codemzs

    X Microsoft.ML.Dnn.Tests.ImageClassification.TensorFlowImageClassification [1m 16s]
    Error Message:
    System.Exception : Can not convert a String into a Tensor or Operation.
    Stack Trace:
    at Tensorflow.Graph._as_graph_element_locked(Object obj, Boolean allow_tensor, Boolean allow_operation)
    at Tensorflow._ElementFetchMapper..ctor(Object[] fetches, Func2 contraction_fn) at Tensorflow._FetchMapper.for_fetch(Object fetch) at Tensorflow._FetchHandler..ctor(Graph graph, Object fetches, Dictionary2 feeds, Action feed_handles)
    at Tensorflow.BaseSession._run(Object fetches, FeedItem[] feed_dict)
    at Tensorflow.BaseSession.run(Object fetches, FeedItem[] feed_dict)
    at Tensorflow.Saver.save(Session sess, String save_path, Int32 global_step, String latest_filename, String meta_graph_suffix, Boolean write_meta_graph, Boolean write_state, Boolean strip_default_attrs, Boolean save_debug_info)

    Anyone seen this? Seems to happen randomly when running multiple unit-tests in parallel

    Eli Belash
    @Nucs
    TF.NET is not threadsafe, I'm guessing your tests are running with MSTest
    Zeeshan Siddiqui
    @codemzs
    yea
    xunit and mstest