Bug in ImageClassifier.fsx
See original GitHub issueIn the ImageClassifier.fsx
example, the line below causes an error: Dimension -1 must be >= 0
let input_placeholder =
graph.Placeholder
(TFDataType.Float32, shape = TFShape(-1L, -1L, -1L, 3L),
name = "new_input")
Removing the shape parameter allows the demo to run successfully. But something like this also works:
TFShape(Some ([|None; None; None; Some 3|] |> Array.map Dimension))
Should -1L be detected and mapped to None in the constructors, something like what happens in shape
?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Bug in ImageClassifier.fsx · Issue #20 · fsprojects/fsharp-ai-tools
In the ImageClassifier.fsx example, the line below causes an error: Dimension -1 must be >= 0 let input_placeholder = graph.Placeholder (TFDataType.
Read more >FSX Play - Bug Tracking Thread
Hi All,, Please use this thread to track all known bugs and issues. Please try to give as much detail as possible.
Read more >Create onnx model. The BigQuery API. ML. 1/11. For explicit ...
For instructions on how to do this, see Create and train a classifier. Running the example model Nov 25, 2022 · I am...
Read more >[BUG LOGGED] ATC asking for descent in to terrain?
The best part is when you are 10 miles from the airport and it tells you to descend, then climb, then descend. I...
Read more >Why the autopilot is trying to kill you: It may not be a bug.
A workaround I found is to counter the steering with the joystick/yoke until you're level, and very slowly release it. Usually allows the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oops, I didn’t see your response as I had not refreshed the issue page.
I would love to see a Transformer architecture, I haven’t had time to dig into it. There is the new one Transformer XL that’ll be really cool to see.
Slack is the F# Software Foundation Slack page, I believe you can join through here https://fsharp.nationbuilder.com/forms/user_sessions/new once signed up you should get a slack invite.
This should now be fixed.