-
Notifications
You must be signed in to change notification settings - Fork 940
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
do we support scala & java code write tensorflow model with tenorflow-core-api ? #588
Comments
Unfortunately, Java API support in TF has been spotty with deprecation warnings and no API stability guarantees. We initially tried to support Java when the API was updated regularly with each TF release, but even then, it was mostly geared towards inference and not training. That said, contributions are always welcome! |
for me when I read our source code ,I was inspired by these scala code in TFModel, we do the model implement spark Model Interface api, tensor convert df and df convert to tensor ,and invoke tensorflow session, and get the distribute partition block ,mapPartition do model train,collect all partitions result for one model
|
got an error "Could not find SavedModel .pb" when submit on yarn cluster at code "TFModel.model = SavedModelBundle.load(this.getModel, this.getTag)" |
Environment:
Describe the bug:
A clear and concise description of what the bug is.
Logs:
If applicable, add logs to help explain your problem. Note: errors may not be fully described in the driver/console logs. Make sure to check the executor logs for possible root causes.
Spark Submit Command Line:
If applicable, add your spark-submit command line.
The text was updated successfully, but these errors were encountered: