You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AnalysisException: Unable to infer schema for TFRECORD. It must be specified manually.
Let me know if there is more system/config information that could help to debug this.
FWIW, I had the exact same situation when testing spark-tensorflow-connector which I was building from source. I figured there was something wrong with my dependencies or something and thought I would try this project.
thanks,
Dennis
The text was updated successfully, but these errors were encountered:
I am also running into this same problem, with the same error - writes no data, but raises no error message. Write path only has _SUCCESS and ._SUCCESS.crc files. Everything works as expected on a GPU instance but it fails to write data on a CPU instance.
Hi -- I am trying to use
spark-tfrecord
with Spark 3.1.2, but the files written have no data.I'm using the latest version available from the maven repo as:
Following the pyspark example from the README but simplified further:
Outputs:
Saving the spark dataframe to tfrecord does not throw an error.
But the directory only has a _SUCCESS flag and a crc file, no data.
And of course, trying to read the file fails.
Error:
Let me know if there is more system/config information that could help to debug this.
FWIW, I had the exact same situation when testing
spark-tensorflow-connector
which I was building from source. I figured there was something wrong with my dependencies or something and thought I would try this project.thanks,
Dennis
The text was updated successfully, but these errors were encountered: