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
2021-11-29 00:58:19,476 INFO Found libdlr.so in model artifact. Using dlr from r esnet50/libdlr.so
2021-11-29 00:58:19,493 ERROR error in DLRModel instantiation unhashable type: ' dict'
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 85, in i nit
self.impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use default_dlr)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/dlr_model.py", line 104, in init
c_int(device_table[dev_type]),
TypeError: unhashable type: 'dict'
Traceback (most recent call last):
File "/home/pi/resnet.py", line 10, in
model = DLRModel('resnet50', input_shape, output_shape, device)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/counter/phone_home.py", line 192, in callback
resp = func(*args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 88, in i nit
raise ex
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 85, in i nit
self.impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use default_dlr)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/dlr_model.py", line 104, in init
c_int(device_table[dev_type]),
TypeError: unhashable type: 'dict
This is a capture of the code near line 104 of dlr_model.py.
Code to operate the optimized model.
This is an example provided on the AWS page.
I'm just downloading and turning the example, but I'm embarrassed because there's an error. Is there a solution?
The text was updated successfully, but these errors were encountered:
2021-11-29 00:58:19,476 INFO Found libdlr.so in model artifact. Using dlr from r esnet50/libdlr.so
2021-11-29 00:58:19,493 ERROR error in DLRModel instantiation unhashable type: ' dict'
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 85, in i nit
self.impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use default_dlr)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/dlr_model.py", line 104, in init
c_int(device_table[dev_type]),
TypeError: unhashable type: 'dict'
Traceback (most recent call last):
File "/home/pi/resnet.py", line 10, in
model = DLRModel('resnet50', input_shape, output_shape, device)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/counter/phone_home.py", line 192, in callback
resp = func(*args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 88, in i nit
raise ex
File "/home/pi/.local/lib/python3.9/site-packages/dlr/api.py", line 85, in i nit
self.impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use default_dlr)
File "/home/pi/.local/lib/python3.9/site-packages/dlr/dlr_model.py", line 104, in init
c_int(device_table[dev_type]),
TypeError: unhashable type: 'dict
This is a capture of the code near line 104 of dlr_model.py.
Code to operate the optimized model.
This is an example provided on the AWS page.
I'm just downloading and turning the example, but I'm embarrassed because there's an error. Is there a solution?
The text was updated successfully, but these errors were encountered: