Skip to content

Bar chart not working on build, or how to make tensorflowjs models local. #2

@Incblob

Description

@Incblob

Hi, I'm looking for a way to make tensorflow(js) models as portable as possible.

The only problem i have at the moment is that the bar chart showing the results of the tfjs model does not seem to be working. The linear model output is showing fine, but the bar chart is not.
It works fine in ng serve but building the webapp with and without "--prod" does not. href is pointing at "dist/assets".

Is there any way to make such apps completely local? because even the official tensorflowjs examples (those that work) need something like npm to create a server.

Thanks for the help :)

capture

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