uber / petastorm

Petastorm library enables single machine or distributed training and evaluation of deep learning models from datasets in Apache Parquet format. It supports ML frameworks such as Tensorflow, Pytorch, and PySpark and can be used from pure Python code.
Apache License 2.0
1.8k stars 284 forks source link

Raise an error if a user tries to read from a reader after it was stopped #433

Closed selitvin closed 5 years ago

selitvin commented 5 years ago

Encountered this issue in #432 and #396. User tried reading after their context manager has exited, which resulted in unexpected behavior.