Git Product home page Git Product logo

fluxml.github.io's People

Stargazers

 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

fluxml.github.io's Issues

Repository transfer request, Dive into Deep Learning Julia version

Is your feature request related to a problem? Please describe.

I noticed Flux.jl lack beginner tutorials, not only for particular topics, but also zero-to-one ML textbook with Julia and Flux.jl.
So I create Dive into Deep Learning Julia version in repository D2lJulia. For now, I only finished chapter 2.1
.

Describe the feature you'd like

Would you (FluxML organization) like to receive this repo? Since I'm also a beginner in Flux and ML, so I think this task is best done with the Flux community. I'll continue to finish this work and merge the community pull request.

Website / doc improvements to improve user experience

  • Update Features and Ecosystems - Remove some of the older ones
  • Update all the GPU links
  • Separate section: Showcase community projects that have the common models - GeometricFlux, Flux3D, MetalHead, ObjectDetector.jl, Transformers.jl, SciML (DiffEqFlux), TextAnalysis
  • Separate section: Showcase some more research-y things that are end applications - Yao, RayTracer, ...
  • Deployment - with PackageCompiler. We know this won't work - but figure out where it breaks and file relevant issues.
  • Blog: Can we link to other blogs that are not written by us? Aggregation example: JuliaGPU.
  • Have a table of all available models. Could be model zoo (where you cut and paste) or complete models that you can import (MetalHead). Should this be a table, where models are listed as rows, and then level of availability is checkboxes in columns?
  • Observe some first time users, see where they fall, and make sure we have a quickstart or an FAQ to address common issues
  • Update partners. Add CMU, maybe others.
  • Performance comparisons with PyTorch and TensorFlow. This should be front and center, and we should not be shy about admitting where work needs to be done. This will help address the perception that Flux is slow.
  • How can people contribute - improvements, new models, new models with weights. Document that.
  • Docs probably need to be organized for end users and for model builders. Model builders may need to have more information on GPU dev. Common gotchas (like scalar indexing), etc.
  • Link all the users of Flux packages: https://juliahub.com/ui/Packages/Flux/QdkVy/0.10.4?t=2 There's the laundry list, but perhaps some can also be classified into domains.
  • What should users install? Torch.jl is optional - so publish blog and mention in docs, etc.
  • Papers
  • Add JuliaAcademy link

Recent post title not being listed correctly

Describe the issue
The recent posts under https://fluxml.ai/blog/ are generated by an hfun in Franklin.jl. The title is set to a page environment variable unless it is unspecified, in which case it gets a generic name like "Post 10". Currently, all blog posts have titles, but not all of them are generated correctly by the hfun.

To Reproduce
Steps to reproduce the behavior (include links to pages or assets):

  1. "Post 10" https://fluxml.ai/blog/ on corresponds to https://fluxml.ai/blogposts/2021-12-1-flux-numfocus/
  2. In the source for the post, the title environment variable is set
  3. The hfun will read the environment variable and give a default if it is nothing:
    titles[i] = something(pagevar(url, :title), "Post $i")
    (currently that is what it is doing)
  4. If you remove the something logic from the code, then you get an error about assigning Nothing to a Vector{String}, confirming that pagevar(url, :title) is returning nothing when it should return the title set in Step 2.

Step 4 makes me think this is Franklin issue @tlienart.

Desktop (please complete the following information):

  • Browser: All
  • Mobile or desktop (specify OS)? Both

Menu alignment in blog

Changes in #38 seem to have affected the top-level menu as well as the content. We probably just need to make a CSS selector a bit more specific.

CSS not loading correctly on the first time visiting the site

Hi,

I notice this issue on several Julia-based websites and I am not sure what is the source of the problem, but @DhairyaLGandhi suggested starting here.

@DhairyaLGandhi posted the the latest article on Torch.jl (looks awesome!), but the first time I visit the page, the CSS is garbled. It looks like it thinks I'm on mobile or something.

image

When I reload the page, everything is fine and every subsequent time I visit the site, the CSS is fine. It is only that very first visit that is garbled, but that first visit is the most important visit. Especially since I do a lot of Julia evangelizing and if I send the link to someone, I'd like to know what they see isn't garbled CSS.

I can verify that the CSS is consistently garbled on the very first visit by loading the url into a fresh incognito window on Chrome.

This might seem minor, but first impressions are important, so I hope we can track down the source of this problem.

Cheers

getting started webpage error

in the getting started page the command ps = params(W, b) returns

ERROR: UndefVarError: params not defined
Stacktrace:
 [1] top-level scope
   @ REPL[17]:1
 [2] top-level scope
   @ ~/.julia/packages/CUDA/GGwVa/src/initialization.jl:52

while ps = Flux.params(W, b) works correctly.
maybe fix the getting started page.

Update links in the Trebuchet blog post?

The link in the blog-post https://fluxml.ai/2019/03/05/dp-vs-rl.html

Are pointing towards old code https://github.com/FluxML/model-zoo/blob/10bd26ca21079b1c6ee246dd1938beab55178949/games/differentiable-programming/trebuchet/DiffRL.jl

That code is no longer working (packages are no longer in the General registry), and hence it should be pointed to the more current version https://github.com/FluxML/model-zoo/tree/master/contrib/games/differentiable-programming/trebuchet

This would be especially helpful, because as you can see the new link is under contrib/games and hence cannot be found by just switching branches.

At the README.md of Trebuchet.jl there was a similar issue, which was fixed in FluxML/Trebuchet.jl#9

Some syntax errors in tutorials

I'm working through some of the tutorials and finding some syntax issues, for example in the multilayer perception on lines 62-63

function getdata(args)
    ...
    # Batching
    train_data = DataLoader(xtrain, ytrain, batchsize=args.batchsize, shuffle=true)
    test_data = DataLoader(xtest, ytest, batchsize=args.batchsize)
    ...
end

will throw a method error since DataLoader expects the first argument to be zip(xtrain,ytrain)

I think there are some other minor syntax issues as well.

Issue with example Code

I think I found a bug in your docs, though I can't find the right document, where it occurred.

Here params(model) should be ps (where ps = params([W, b])) if I'm not mistaken. (Still learning, might be wrong. Though params(model) yields Params([]), which seems wrong enough.

FAx6E1-XEAIa0Gr

Also, on the same page is this:
FAx6XcOX0AMpNA-

in this section I think is the right moment to talk about VSCode as the preferred Julia IDE. I myself was quite confused, what I am supposed to use.

404 error on Docs section

The docs section provided in the navbar is redirecting to a "page not found" error. The issue might be with the link provided 🤖

Restore experiments link?

I'm a little sad that the experiments are no longer linked from the main navbar, and I don't think they're linked from anywhere else. You can still navigate to /experiments if you remember the URL, but could we get a link to it back? Or is there a grander plan here?

Add Contribute tab on the header

Hey @lilianabs are you up for writing a simple/quick page on ways folks can contribute / get involved with the Flux Ecosystem? Should be a short list:

Blog Posts, tutorials, attend an ML community call, post on Stack Overflow / Discourse, and then link to Liza's overall contributing guide on the JuliaLang website

[Discussion]: Update and periodically test posts and model-zoo tutorials

This is a placeholder issue for updating the existing tutorials and adding workflows to periodically test them.

My proposal's text -

Flux's website has plenty of good tutorials, but some of them have been outdated for some
time. These tutorials go stale with every new Julia and Flux release making them unreliable
for newcomers. Additionally, as discussed with Dhairya Gandhi, the FluxBot can be used to
automatically test these examples, but it is currently not integrated with the FluxML
ecosystem. The bot would ideally run all the model-zoo examples on every PR created on Flux.jl.
This section would aim to -

  • Update the tutorials on Flux’s website.
  • Add tests to (or run) these examples to ensure they do not go stale.
  • Integrate FluxBot with the existing FluxML ecosystem and get it running.

I tried triggering the FluxBot (FluxML/Flux.jl#2016 (comment)), but it did not respond. I am guessing that the bot is not deployed at the moment. I did find a buildkite-related file and a PR (DhairyaLGandhi/FluxBot.jl#2) that probably aims to shift it to GitLab's CI, but I am not sure how and where it is deployed currently. I am also not sure if there is a way to run it locally for some personal test repositories.

For the tutorials, should I migrate them from Flux.params to Optimisers.jl, or would it be too soon? I will audit all the tutorials and update them as needed!

For testing, I think it would be straightforward to periodically test the model-zoo examples using Julia's doctests, as model-zoo is a Julia package. For the website, I think the -

doctest(source, modules; kwargs...)

definition of doctest should work.

Also, #136 aims to migrate this website to Franklin.jl. Is this still in progress or has this been abandoned? I can take this up if required (cc: @logankilpatrick @darsnack)!

I will start by adding these periodic tests to both the repositories!

cc: @DhairyaLGandhi @mcabbott @ToucheSir

Mobile/compact navigation menu broken

For browser windows below 992px in width the top navigation bar collapses into a mobile-style dropdown. When I click on it in either Chrome or Firefox (mobile or desktop) it animates open but then collapses again as soon as the animation finishes.

Getting Started example confusion

Hey all. This was brought to my attention by this SO question, and I'm not 100% convinced that I'm right about what happens here, so please bear with me.

It looks like what the example on "Getting Started" wants to do is define a linear model from R^5 onto R^2, and then train that with a single example (x, y), where x is in R^5 and y is in R^2.

However, when we do the line data = zip(x,y), we generate a length-2 iterator containing [(x[1], y[1]), (x[2], y[2])] and ignore the other 3 elements of x. This is then fed into the loss function, which is still capable of computing an answer because of the elementwise operations. So what we actually end up doing is training a function from R^1 to R^1, with two examples.

I can replace x = rand(5) with x =vcat(rand(2), [missing, missing, missing]) and the whole tutorial still runs without a hitch, which seems to confirm that the last three elements of x are never examined.

Is this intended behavior, or was the line intended to be something like data = zip(eachcol(x), eachcol(y))?

Create Machine Learning Tutorials with Flux.jl

Hello prospective hacktoberfest contributor! The FluxML community would welcome new tutorials to the Flux website which can generally be found under: https://fluxml.ai/tutorials.html

You can find the source code for the tutorials here: https://github.com/FluxML/fluxml.github.io/tree/main/tutorials/_posts. They are just markdown files.

What we are looking for

We would be open to Pull Request which provide a tutorial topic that is not already covered by the existing tutorials. But no need to re-invent the wheel here. If you have a favorite tutorial that you want to try and re-create using Flux, we would love to help and see it!

Find out more about contributing here: https://github.com/FluxML/fluxml.github.io/blob/main/CONTRIBUTING.md and more general ways of contributing (which may not be open hacktoberfest issues but we can happily make them into issues if that helps you) here: https://github.com/FluxML/Flux.jl/blob/master/CONTRIBUTING.md

Another good starting place would be the Model Zoo: https://github.com/FluxML/model-zoo where we have a bunch of existing models but usually without tutorials built around them.

MNIST experiment accuracy

The accuracy of the conv classifier for MNIST on the website is rather poor. This is because the model was trained for only one epoch (if the code from model-zoo) was actually used.

See: FluxML/model-zoo#72.

I have weights for a model in bson format that I can make a PR for if necessary.

Flux.JS issues

Looks like the Go model, or maybe the cartpole one, made some changes to the flux.js scripts that broke other models. We should probably just have a local copy of flux.js etc, so that all the models are completely independent.

cc @Roboneet

Error when running Getting Started example

Hi, I encountered an error when calling params when going over the Getting Started example here.

The lines that caused my error were from step 6:

ps = params(W, b)

Which can be fixed via

ps = Flux.params(W, b)

I am unsure where the source of this doc is so that I could submit a PR for this. I ran it on Julia-1.8.0-rc4, Apple Silicon Mac.

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.