class_docstr: Remote dataset server
  
  `Here's a sample usage of the server <https://github.com/labmlai/labml/blob/master/helpers/labml_helpers/datasets/remote/test/mnist_server.py>`_
class_docstr_tok: ["Remote","dataset","server","`","Here","'s","a","sample","usage","of","the","server","<","https",":","\/\/github.com\/labmlai\/labml\/blob\/master\/helpers\/labml_helpers\/datasets\/remote\/test\/mnist_server.py",">","`","_"]
code: def __init__(self):
      self.app = FastAPI()
      self.datasets = {}
  
file_path: labml/helpers/labml_helpers/datasets/remote/server.py
imports: import pickle
  import uvicorn
  from fastapi import FastAPI, Request, Response
  from torch.utils.data import Dataset
label_desc: Use image node_id 1 to create a new DatasetServer object  with example: obj = DatasetServer()