I just wanted to share this issue that I came up on here.
I retrained a model using the Dash GUI. After clicking 'Update' it seemed to work fine. After this first re-training I performed about 30 point annotations in one cluster that I wanted to improve, and then I clicked 'Update' again. In terminal it said it was updating, then 'DONE'. Right after this I get the following error:
Traceback (most recent call last):
File "/Users/cesar/Documents/GitHub/amvoc/src/main.py", line 703, in update_cluster_graph
if annotation['method'] == method and annotation['number_of_clusters'] == n_clusters and annotation['features_type']==feats_type:
KeyError: 'method'
I couldn't quite figure out how to resolve this.
Another note: I had issues where after performing annotations or retraining I could not save the model again. I resolved this by adding the '.pt' ending to other portions of the code where the model name is needed (two instances).