Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Haiping Chen
    @Oceania2018
    @Sergio0694 Are you going to use computesharp to improve your neural network project?
    Sergio Pedri
    @Sergio0694
    @henon Yeah that's my backup plan, if I can't get this to work in a while I might just move the template in a class, with the text as a constant string, and use that for now, and eventually move back to the file in the future if I can figure it out
    @Oceania2018 Not right now as I'm pretty busy with university, but yeah I've thought about it.
    That should give it a pretty nice performance boost , especially if I make it GPU-only so that I can keep the memory just on the GPU most of the time, and avoid havign to copy it back and forth on the CPU
    Sergio Pedri
    @Sergio0694
    Alright, so thanks to @henon the template issue has now been fixed. Now I just need to wait for the DotNetDxc package to be updated with the new .dll files, and I'll be able to publish ComputeSharp to NuGet 👍
    Brendan Mulcahy
    @BrendanMulcahy
    @Oceania2018 @moloneymb Thanks! I agree with Matthew btw, someone could learn from my code but it's something I'm just hacking together while trying to follow this python book. There are some cases where the book is not perfect, maybe the second edition has fixes? Would love feedback btw if you have free time to submit a PR :)! I'm going to keep working on the code.
    I made you guys a video of a game/machine learning project that I have been working on for about a year in my free time: https://youtu.be/5kCkAW5gHEc I'm hoping to port it to TensorFlow.NET from TensorFlowSharp. Let me know what you think!
    Matthew Moloney
    @moloneymb
    @BrendanMulcahy Looks good. I've thought about building similar games around Deep Learning. I was considering doing it in C++/OpenGL/OpenCV/Webasm.
    Brendan Mulcahy
    @BrendanMulcahy
    I'm not much of a C++ programmer. I have tinkering around with a lot of languages but I can mainly only "do work" in C# and python
    If there is anyway I can help you guys out more directly let me know. I tend to work/learn best when I'm on a mission of sorts so I can probably give the most helpful feedback if Im working on this game and using Tensorflow.NET
    But I can try to lend help in other ways when I get stuck/bored and need something to switch onto for a bit
    BTW, I've never really work on an open-source project, so I dont 100% know the etiquette so I might need some help with that as well (I'm open to critical feedback btw so don't feel like you need to hold anything back)
    Meinrad Recheis
    @henon
    @BrendanMulcahy you are welcome to join our team if you like. don't worry, we are a friendly group of developers who are passionate about ML and you'll quickly get the hang of it. even if you only take on only a small task it would help and be very much appreciated
    Brendan Mulcahy
    @BrendanMulcahy
    @henon Im free for most of today, anything I can tackle in about a day of work?
    Meinrad Recheis
    @henon
    I guess the best way to build up knowledge about TF.NET which you need for most tasks is to port your game to it
    Brendan Mulcahy
    @BrendanMulcahy
    I'm going to keep working through the book "Hands-On Machine Learning...". I'm working on a neural network right now (btw, my game uses Keras actually on top of Miguel's tensorflowsharp, so I can checkout Keras.NET too)
    Meinrad Recheis
    @henon
    by the way, check out the examples we have
    Brendan Mulcahy
    @BrendanMulcahy
    Yeah I check them out whenever I run into trouble :)
    Meinrad Recheis
    @henon
    if you happen to build one that would complement our examples you might want to add it
    Brendan Mulcahy
    @BrendanMulcahy
    BTW, the examples in the readthedocs are all super outdated
    Last I checked earlier this week. I could try fixing the read the docs
    Is that managed in github somehow
    Meinrad Recheis
    @henon
    I guess it is, @Oceania2018 would know
    Haiping Chen
    @Oceania2018
    @BrendanMulcahy Just fork repo, all the docs is in the docs folder.
    Brendan Mulcahy
    @BrendanMulcahy
    Cool, thanks!
    Haiping Chen
    @Oceania2018
    I’m doing the TensorFlow 2.0 in my local. But no eager mode for the first stage.
    Brendan Mulcahy
    @BrendanMulcahy
    Do you guys prefer doing using() or the with<>(...)? I find the using more C#
    Haiping Chen
    @Oceania2018
    We all use using for v0.11.
    with<> is replaced with tf_with just for internal use.
    You can use all the APIs started with tf.xxx.
    Brendan Mulcahy
    @BrendanMulcahy
    Ok, does this work correctly then:
    using (var ns = tf.name_scope(name)) { ... }
    Haiping Chen
    @Oceania2018
    Yes, works.
    Brendan Mulcahy
    @BrendanMulcahy
    Is there any substitute for tf.nn.in_top_k(...) ?
    Eli Belash
    @Nucs
    gen_ops.in_top_k(...)
    Brendan Mulcahy
    @BrendanMulcahy
    Awesome, thanks!
    I didnt see it when I searched in github
    Eli Belash
    @Nucs
    I used resharper's Ctrl+N (tick include library)
    Brendan Mulcahy
    @BrendanMulcahy
    Good idea, although I think its bound to CTRL+T by default (search everywhere)
    Meinrad Recheis
    @henon

    Is there any substitute for tf.nn.in_top_k(...) ?

    you just found something that is missing in the tf.nn. namespace.

    Brendan Mulcahy
    @BrendanMulcahy
    Want me to submit a PR?
    Meinrad Recheis
    @henon
    yes please
    Brendan Mulcahy
    @BrendanMulcahy
    Looks like there are flaky unit tests or something
    Meinrad Recheis
    @henon
    what do you mean by 'flaky' ?
    not enough, I would guess
    Brendan Mulcahy
    @BrendanMulcahy
    Looks like the tests are failing in the AppVeyor build even though I touched pretty much nothing. Flaky meaning sometimes they succeed sometimes they fail (unless they are always failing then they arent flaky haha)
    IMO You guys should consider setting up a code owners file if you havent already discussed it
    Meinrad Recheis
    @henon
    @Oceania2018 let's discuss setting up a code owners file
    Иван Сердюк
    @oceanfish81_twitter
    @BrendanMulcahy , I think I have two people proposed AI use cases (for gaming). Both considered Unity - but other C# (C#->native code generation) might be used
    Brendan Mulcahy
    @BrendanMulcahy

    @BrendanMulcahy , I think I have two people proposed AI use cases (for gaming). Both considered Unity - but other C# (C#->native code generation) might be used

    We took this offline, thanks for reaching out

    Haiping Chen
    @Oceania2018
    @henon @BrendanMulcahy Add a CODEOWNERS file is a great idea. This automatically requests reviews from the code owners when a pull request changes any owned files.