MGMN icon indicating copy to clipboard operation
MGMN copied to clipboard

Error while running GED regression task

Open GuptaVishu2002 opened this issue 1 year ago • 0 comments

I am trying to run the ged_train.py but am getting the following error

Traceback (most recent call last):
  File "ged_train.py", line 217, in <module>
    trainer = GEDTrainer(data_dir=ged_main_dir, device=d, best_model_path=model_save_path, args=ged_args, log_path=log_file_path)
  File "ged_train.py", line 40, in __init__
    self.dataset = GEDDataset(ged_main_dir=data_dir, args=args)
  File "/home/vgf3011/vishu/MGMN/src/data.py", line 50, in __init__
    col_graphs=self.train_val_graphs, scale=1.0)
  File "/home/vgf3011/vishu/MGMN/src/simgnn_utils.py", line 620, in load_result
    return PairwiseGEDModelResult(dataset, model, result_folder, dist_mat, row_graphs, col_graphs, scale)
  File "/home/vgf3011/vishu/MGMN/src/simgnn_utils.py", line 506, in __init__
    self.dist_mat_ = self._load_result_mat(self.dist_metric(), self.model_, len(row_graphs), len(col_graphs))
  File "/home/vgf3011/vishu/MGMN/src/simgnn_utils.py", line 560, in _load_result_mat
    raise RuntimeError('Not imdbmulti and no astar results!')
RuntimeError: Not imdbmulti and no astar results!

Can you help me figure out what can be the possible reason for this?

GuptaVishu2002 avatar Feb 07 '23 21:02 GuptaVishu2002