Skip to content

Isolated environments for machine learning examples #52

@ncguilbeault

Description

@ncguilbeault

Continuing the discussion from here: bonsai-rx/bonsai#2096 (comment)

I agree with @glopesdev about keeping each example self-contained, at least for the machine learning examples. Early on, I remember we were discussing ways to distribute large files (i.e. datasets, model weights, etc), and one idea was to distribute these via NuGet packages and rely on the bonsai bootstrapper to take care of this. I think it would be useful to keep this door open for the future, since moving to a single bootstrapped environment would mean adding a lot of overhead. Also, we took a lot of inspiration early on from the ML.NET project, and the ML.NET examples repo does something similar with each example having a unique csproj file that only pulls in the packages needed.

But I agree with your point @PathogenDavid, having to update the examples with every new package release is a total pain and it's very easy to overlook. It would be great if we could automate this step or make it easier to know when things have become outdated. It would be great if we could do something similar to what ML.NET does and be able to specify the package version once to get applied to all of the examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions