deeplearning4j/deeplearning4j

WordVectorSerializer should add load Supplier<InputStream> functions

Opened this issue · 2 comments

Issue Description

Please describe our issue, along with:

  • expected behavior
  • encountered behavior

right now WordVectorSerializer mainly only accept File, which is just... not flexible.

Like if I wanna a network-based input, or a zipped/encrypted input, things goes just unnecessarily complex

Version Information

Please indicate relevant versions, including, if relevant:

  • Deeplearning4j version
  • Platform information (OS, etc)
  • CUDA version, if used
  • NVIDIA driver version, if in use

Additional Information

Where applicable, please also provide:

  • Full log or exception stack trace (ideally in a Gist: gist.github.com)
  • pom.xml file or similar (also in a Gist)

Contributing

If you'd like to help us fix the issue by contributing some code, but would
like guidance or help in doing so, please mention it!

Yes I will as I need such codes in my work...

So I do think there be other people need this.

@XenoAmess we'd happy take a PR for this. I'm happy to guide you through the testing process as well.

@XenoAmess we'd happy take a PR for this. I'm happy to guide you through the testing process as well.

I need help for running TestCnnSentenceDataSetIterator.
I using windows10 amd64, now I can build the project if skipTests, but cannot run any tests...