-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
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
Error in test mode after faiss implementation #37
Comments
Yes, it need to be added. |
Morevoer i can see a performance decay after faiss implementacion. I noticed that using the commit after e4cb4ba the performance is worst |
@HoseinHashemi error occurred in test mode is fixed. please check #51
|
Hello. I didn't know that. I'll check. Thanks |
Hello, that is because I installed FAISS using pip but conda works fine |
Has anybody tried the code in the test mode after faiss implementation?
I believe that the line below needs to be added to the
on_test_start
method.self.embedding_dir_path, self.sample_path, self.source_code_save_path = prep_dirs(self.logger.log_dir)
Otherwise, you'll get the error below:
AttributeError: 'STPM' object has no attribute 'embedding_dir_path'
And that makes sense because the attributes are not assigned yet, instead they are assigned after this point and also in
on_train_start
.The text was updated successfully, but these errors were encountered: