Traceback (most recent call last):
File "C:\Users\elmm\Desktop\CQM\QNLP Depression 2.py", line 20, in
model = TketModel.from_checkpoint('C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY', backend_config=backend_config)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\quantum_model.py", line 106, in from_checkpoint
checkpoint = Checkpoint.from_file(checkpoint_path)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\checkpoint.py", line 110, in from_file
with open(path, 'rb') as ckp:
PermissionError: [Errno 13] Permission denied: 'C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY'
I am trying to use a trained model with the checkpoint. I may have done it wrongly, could I ask for some assistance?
Traceback (most recent call last): File "C:\Users\elmm\Desktop\CQM\QNLP Depression 2.py", line 20, in
model = TketModel.from_checkpoint('C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY', backend_config=backend_config)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\quantum_model.py", line 106, in from_checkpoint
checkpoint = Checkpoint.from_file(checkpoint_path)
File "C:\Users\elmm\AppData\Local\Programs\Python\Python39\lib\site-packages\lambeq\training\checkpoint.py", line 110, in from_file
with open(path, 'rb') as ckp:
PermissionError: [Errno 13] Permission denied: 'C:/Users/elmm/Desktop/CQM/runs/Jun08_15-09-45_LT-ELMM-T-MY'
I am trying to use a trained model with the checkpoint. I may have done it wrongly, could I ask for some assistance?