Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SameDiff: placeholder variables not persisted in FlatBuffers format #6674

Closed
AlexDBlack opened this issue Nov 7, 2018 · 1 comment · Fixed by #6729

Comments

@AlexDBlack
Copy link
Contributor

commented Nov 7, 2018

Exception in thread "main" org.nd4j.linalg.exception.ND4JIllegalStateException: Illegal variable input passed in. Variable found not to be a place holder variable
	at org.nd4j.autodiff.samediff.SameDiff.resolveVariablesWith(SameDiff.java:10363)
	at org.nd4j.autodiff.samediff.SameDiff.resolveVariablesWith(SameDiff.java:10333)
	at org.nd4j.autodiff.samediff.SameDiff.fit(SameDiff.java:1566)
	at org.nd4j.autodiff.samediff.SameDiff.fit(SameDiff.java:1519)
	at org.deeplearning4j.examples.samediff.training.SameDiffTrainingExample.main(SameDiffTrainingExample.java:95)

https://gist.github.com/AlexDBlack/8c24ec9b50a979a85a17d14bed5d1d0c

@AlexDBlack AlexDBlack self-assigned this Nov 17, 2018

AlexDBlack added a commit that referenced this issue Nov 17, 2018
AlexDBlack added a commit that referenced this issue Nov 21, 2018
Various DL4J/ND4J fixes (#6729)
* #6728 InvertMatrix edge case fix

* #6671 Updaters - use isRowVectorOrScalar when appropriate

* #6717 Report (optionally) GC info in PerformanceListener

* #6714 Don't generate instance ID for ops when using INDArray constructors

* #6712 Fix FileDocumentIterator handling of empty documents

* #6686 ArchiveUtils listing, single file extraction for zip

* SameDiff: don't make output variables placeholders if shape is unknown

* #6674 SameDiff FlatBuffers: persist placeholder variables

* #6674 SameDiff FlatBuffers: persist placeholder variables

* #6691 DL4J CuDNN: don't fall back to built-in if exception is OOM

* Add graph.fbs changes (forgotten in previous commit)

* LRN builder constructor fix

* Fix test typo

* Dependency management for nd4j-kryo jackson versions to (try to) avoid CI dependency issue
@lock

This comment has been minimized.

Copy link

commented Dec 21, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Dec 21, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant
You can’t perform that action at this time.