You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear sir, thank for your work. I'd like to use bert instead of blstm when text embedding. error occurs as follow:
File "train.py", line 135, in
learner=Learner()
File "train.py", line 52, in init
self.yolo_model, self.yolo_body = self.create_model(yolo_weights_path=config['pretrained_weights'],freeze_body=config['free_body'])
File "train.py", line 87, in create_model
model_body = yolo_body(image_input, q_input, num_anchors,config) ###### place
File "/datadrive/soat_nlp/MCN/MCN-master/model/mcn_model.py", line 170, in yolo_body
return Model([inputs,q_input], [y,E,co_enery])
File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 93, in init
self._init_graph_network(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 147, in _init_graph_network
if len(set(self.inputs)) != len(self.inputs):
TypeError: unhashable type: 'list'
The text was updated successfully, but these errors were encountered:
Dear sir, thank for your work. I'd like to use bert instead of blstm when text embedding. error occurs as follow:
File "train.py", line 135, in
learner=Learner()
File "train.py", line 52, in init
self.yolo_model, self.yolo_body = self.create_model(yolo_weights_path=config['pretrained_weights'],freeze_body=config['free_body'])
File "train.py", line 87, in create_model
model_body = yolo_body(image_input, q_input, num_anchors,config) ###### place
File "/datadrive/soat_nlp/MCN/MCN-master/model/mcn_model.py", line 170, in yolo_body
return Model([inputs,q_input], [y,E,co_enery])
File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 93, in init
self._init_graph_network(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 147, in _init_graph_network
if len(set(self.inputs)) != len(self.inputs):
TypeError: unhashable type: 'list'
The text was updated successfully, but these errors were encountered: