We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/envs/geneformer_ycx/lib/python3.10/site-packages/geneformer-0.1.0-py3.10.egg/geneformer/classifier.py:1245, in Classifier.train_classifier(self, model_directory, num_classes, train_data, eval_data, output_directory, predict) 1241 ##### Fine-tune the model ##### 1242 # define the data collator 1243 if self.classifier == "cell": 1244 data_collator = DataCollatorForCellClassification( -> 1245 token_dictionary=self.token_dictionary 1246 ) 1247 elif self.classifier == "gene": 1248 data_collator = DataCollatorForGeneClassification( 1249 token_dictionary=self.token_dictionary 1250 )
AttributeError: 'Classifier' object has no attribute 'token_dictionary'
The text was updated successfully, but these errors were encountered:
Can you explain in more detail? I don’t quite get what you mean, such as why the error occurred and the purpose of installing this.
Sorry, something went wrong.
No branches or pull requests
/envs/geneformer_ycx/lib/python3.10/site-packages/geneformer-0.1.0-py3.10.egg/geneformer/classifier.py:1245, in Classifier.train_classifier(self, model_directory, num_classes, train_data, eval_data, output_directory, predict)
1241 ##### Fine-tune the model #####
1242 # define the data collator
1243 if self.classifier == "cell":
1244 data_collator = DataCollatorForCellClassification(
-> 1245 token_dictionary=self.token_dictionary
1246 )
1247 elif self.classifier == "gene":
1248 data_collator = DataCollatorForGeneClassification(
1249 token_dictionary=self.token_dictionary
1250 )
AttributeError: 'Classifier' object has no attribute 'token_dictionary'
The text was updated successfully, but these errors were encountered: