text: import os
  import sys
  sys.path.append("../../../monk/");
  import psutil
  
  from pytorch_prototype import prototype
  from compare_prototype import compare
  from common import print_start
  from common import print_status
  
  
  
  def test_default_train(system_dict):
      forward = True;
      test = "default_train_object_creation";
      system_dict["total_tests"] += 1;
      print_start(test, system_dict["total_tests"])
      if(forward):
          try:
              print("In here")
              ptf = prototype(verbose=0);
              system_dict["successful_tests"] += 1;
              print_status("Pass");
          except Exception as e:
              system_dict["failed_tests_exceptions"].append(e);
              system_dict["failed_tests_lists"].append(test);
              forward = False;
              print_status("Fail");
      else:
          system_dict["skipped_tests_lists"].append(test);
          print_status("Skipped");
  
  
      test = "default_train_Prototype()";
      system_dict["total_tests"] += 1;
      print_start(test, system_dict["total_tests"])
      if(forward): 
          try:
              ptf.Prototype("sample-project-1", "sample-experiment-1");
              system_dict["successful_tests"] += 1;
              print_status("Pass");
          except Exception as e:
              system_dict["failed_tests_exceptions"].append(e);
              system_dict["failed_tests_lists"].append(test);
              forward = False;
              print_status("Fail");
      else:
          system_dict["skipped_tests_lists"].append(test);
          print_status("Skipped");
  
  
      test = "default_train_Default()";
      system_dict["total_tests"] += 1;
      print_start(test, system_dict["total_tests"])
      if(forward): 
          try:
              ptf.Default(dataset_path="../datasets/dataset_cats_dogs_train", 
                  model_name="resnet18", freeze_base_network=True, num_epochs=2);
              system_dict["successful_tests"] += 1;
              print_status("Pass");
          except Exception as e:
              system_dict["failed_tests_exceptions"].append(e);
              system_dict["failed_tests_lists"].append(test);
              forward = False;
              print_status("Fail");
      else:
          system_dict["skipped_tests_lists"].append(test);
          print_status("Skipped");
  
  
      test = "default_train_Train()";
      system_dict["total_tests"] += 1;
      print_start(test, system_dict["total_tests"])
      if(forward): 
          try:
              ptf.Train();
              system_dict["successful_tests"] += 1;
              print_status("Pass");
          except Exception as e:
              system_dict["failed_tests_exceptions"].append(e);
              system_dict["failed_tests_lists"].append(test);
              forward = False;
              print_status("Fail");
      else:
          system_dict["skipped_tests_lists"].append(test);
          print_status("Skipped");
  
  
  
  
      
  
      return system_dict
  
  
  
  
  