SampleDecompressionError: #2837
-
Hello! I'm confused why I'm getting this error-- I just have a text file and I'm not sure why this is not working. Here's the code and the corresponding file contents.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @j-beastman. Apologies for this issue. Text files cannot be appended using
|
Beta Was this translation helpful? Give feedback.
-
@j-beastman Is this solution adequate, or do you need to upload files directly in your use-case? |
Beta Was this translation helpful? Give feedback.
Hi @j-beastman. Apologies for this issue. Text files cannot be appended using
deeplake.read(filename)
. You should load the text string into a python object and append using:ds.append({'text': text_from_file}, skip_ok=True)