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

WordVectorSerializer should add load Supplier<InputStream> functions #10064

Open
XenoAmess opened this issue Apr 26, 2024 · 2 comments
Open

WordVectorSerializer should add load Supplier<InputStream> functions #10064

XenoAmess opened this issue Apr 26, 2024 · 2 comments
Labels
Enhancement New features and other enhancements Low Priority

Comments

@XenoAmess
Copy link

XenoAmess commented Apr 26, 2024

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.

@agibsonccc
Copy link
Contributor

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

@agibsonccc agibsonccc added Enhancement New features and other enhancements Low Priority labels Apr 26, 2024
@XenoAmess
Copy link
Author

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New features and other enhancements Low Priority
Projects
None yet
Development

No branches or pull requests

2 participants