AndreiVoicuT commited on
Commit
14b2be0
·
verified ·
1 Parent(s): 2b39016

Update interface_connection.py

Browse files
Files changed (1) hide show
  1. interface_connection.py +3 -2
interface_connection.py CHANGED
@@ -7,7 +7,8 @@ import json
7
 
8
  device =torch.device('cpu')
9
  model_name_map = {
10
- "wizard_tb 0.3": "demo_model_1"
 
11
  }
12
  data_map = {
13
  "aBN_01": 0, "aBN_02": 1,
@@ -43,7 +44,7 @@ def text_out(h_mat, s_mat,model_name, data_name ):
43
 
44
  def compute_mat(data_name, model_name):
45
  print("model_name",model_name)
46
- if model_name[0] == "wizard 0.3":
47
  model = HGnn(edge_shape=51,
48
  node_shape=2,
49
  u_shape=10,
 
7
 
8
  device =torch.device('cpu')
9
  model_name_map = {
10
+ "wizard_tb 0.3": "demo_model_1",
11
+ "wizard 0.3": "demo_model_0"
12
  }
13
  data_map = {
14
  "aBN_01": 0, "aBN_02": 1,
 
44
 
45
  def compute_mat(data_name, model_name):
46
  print("model_name",model_name)
47
+ if model_name[0] == "wizard_tb 0.3":
48
  model = HGnn(edge_shape=51,
49
  node_shape=2,
50
  u_shape=10,