-
Notifications
You must be signed in to change notification settings - Fork 747
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
Excuse me,the DataSet class and DataLoader class not found in javacpp pytorch? #1215
Comments
That's something that stills needs to be mapped. Contributions are welcome! |
hi,I'm also looking for this api recently.So when will it come to project? |
+1 ,eagerly need |
If you would like to work on this yourself, I can provide assistance, so please let me know if you encounter any problems. Thanks! |
wow ,I do not know how to code these module , zero ability about this, I think maybe you can master these research |
@saudet please make the normal pytorch torch.utils.data.DataLoader & torch.utils.data.dataset class implement in javacpp ,our algorithm team use java and scala to develop torch ,but not DataLoader and dataset class can use, eagerly need you help |
unless make first priority operation to implement them Please , or the javacpp pytorch will can not use in real business online deploy environment ! it is will only became the toy for ml beginner or lab . eagerly need the dataloader and dataset pytorch api in javacpp. |
When you say "real business", do you mean "money"? If that's your situation, then let's have a meeting to discuss this. |
sorry ,make you misunderstand my meaning, real business environment just mean real algorithm work in technology company to build the predict model |
HI ,could you bring the torchvision torchaudio torchtext torchfm four packages to the javacpp? thanks |
The C++ APIs of libraries like these are typically deprecated, for example pytorch/vision@c359d8d, so you'll need to use them in Python anyway. Please let me know if you find any that are supported though. |
…ing classes from PyTorch (issue #1215)
I've added support for that with ChunkDataReader in commit fa4dfdc, which works something like this: Please give it a try with the snapshots: http://bytedeco.org/builds/ Also please let me know if there is anything missing! |
|
set batch size =1 ,I think it's work
|
HI, feel very happy that chunkDataReader has biggest impact on pytorch-scala ml env , by the way If you ask me some class missing , I think is [SequentialSampler ] [StreamSampler] [StatefulDataLoader]【StatelessDataLoader】【DistributedSampler】 |
Good to hear that it works well! Right, there are a few things still missing, but I guess what I am asking is whether there is anything out of that that is important. |
but anything else, I found the loss function has some datatype error ,I have convert the predict and target datatype, but no effect ,I feel confused about that
|
If you still have problems with that, try with a smaller example, it should help you figure out what the problem is. |
I have solve the problem ,now the mnist model can really training by load the local chunk mnist dataset, now the ChunkDataReader ChunkDataSet ChunkDataLoader these class can use perfectly ! |
Those classes are now available in version 1.5.9. Enjoy! |
Hi:
I want to read some train data from load disk or hadoop hdfs,but I not found DataSet and DataLoader, Only the Mnist relate dataset dataloader class,I not know which dataread class to inherit ?
The text was updated successfully, but these errors were encountered: