class_docstr: Test reload for datasets.
docstr: Check ability to repeatedly run experiments with reload set True.
docstr_tok: ["Check","ability","to","repeatedly","run","experiments","with","reload","set","True","."]
code: def test_reload_twice(self):
      """Check ability to repeatedly run experiments with reload set True."""
      reload = True
      current_dir = os.path.dirname(os.path.abspath(__file__))
      dataset_file = os.path.join(
          current_dir, "../../../datasets/mini_muv.csv.gz"
      )
      logger.info("Running experiment for first time with reload.")
      (len_train, len_valid, len_test) = self._run_muv_experiment(
          dataset_file, reload
      )
  
      logger.info("Running experiment for second time with reload.")
      (
          len_reload_train,
          len_reload_valid,
          len_reload_test,
      ) = self._run_muv_experiment(dataset_file, reload)
      assert len_train == len_reload_train
      assert len_valid == len_reload_valid
      assert len_test == len_reload_valid
  
file_path: deepchem/deepchem/data/tests/test_reload.py
imports: import os
  import math
  import logging
  import unittest
  import deepchem
label_desc: Use image node_id 3 for calling the TestReload obj's underlying member method code with example usage: obj.test_reload_twice() without return types