royerlab/cytoself

Packages missing + embedding_dim is required for vq_args

Closed this issue · 1 comments

I ran into two errors while trying to run the sample analysis. I had the same issue as Dedy (#26) but fixed this by downloading the cytoself folder from the github, then installing the additional dependencies. I now have this error while trying to run CytoselfFullTrainer:
image
image

Hi @sheryllin111 The main branch of cytoself is now implemented with PyTorch but the pip package has not been updated. So you need to follow the instruction for developers to install cytoself from the repository.

For the error you've got, it looks like you have duplicated keyword argument 'vq_args' in your script. You shouldn't get the error if you only use the first 'vq_args' that has the value {'num_embeddings': 512, 'embedding_dim': 64}.