docstr: ## Create a new trial from a dictionary
docstr_tok: ["#","#","Create","a","new","trial","from","a","dictionary"]
code: def from_dict(cls, experiment_path: Path, data: Dict[str, any]):
      """
      ## Create a new trial from a dictionary
      """
      params = dict(experiment_path=experiment_path)
      params.update(data)
      try:
          run = cls(**params)
          return run
      except TypeError as e:
          raise RunLoadError(e)
  
imports: import os
  import time
  from pathlib import Path
  from typing import List, Dict, Optional
  from labml import lab
  from labml.internal.configs.processor import load_configs
  from ..None import util
  from ..manage.runs import get_run_by_uuid
  from ...logger import Text
  from ...utils.notice import labml_notice
label_desc: Use image node_id 3 for calling the RunInfo obj's underlying member method code with example usage: obj.from_dict(cls, experiment_path, data) and returns: run