BaseStorageBackend — mmengine 0.10.7 documentation (original) (raw)
- Docs >
- mmengine.fileio >
- BaseStorageBackend
- 以中文阅读
Shortcuts
class mmengine.fileio.BaseStorageBackend[source]¶
Abstract class of storage backends.
All backends need to implement two apis: get() andget_text().
get() reads the file as a byte stream.
get_text() reads the file as texts.