Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Data.Scientific exception when parsing tensorflow/models #9

@joshvera

Description

@joshvera

Ran into this exception when generating a scope graph for tensorflow/models. I think the file in question might be global_objectives/loss_layers_test.py.

Unhandled internal exception: fromRational has been applied to a repeating decimal which can't be represented as a Scientific! It's better to avoid performing fractional operations on Scientifics and convert them to other fractional types like Double as early as possible.
CallStack (from HasCallStack):
  error, called at src/Data/Scientific.hs:311:23 in scientific-0.3.6.2-KIIlODNgUeO9twnHef2PBn:Data.Scientific

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglanguage: pythonIssues related specifically to Python

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions