style-transformer
style-transformer copied to clipboard
ValueError: E:\style-transformer\evaluator\acc_yelp.bin has wrong file format!
hi! Thanks for your code and paper, I get a lot from it. But when I run the code,I met the error ValueError: E:\style-transformer\evaluator\acc_yelp.bin has wrong file format! in the line self.classifier_yelp = fasttext.load_model(yelp_acc_file.name) , I know that you don't provide a file named ppl_yelp.binary, I just commented related code. I think maybe the file acc_yelp.bin has some format error? But I am not sure, looking forward to your reply, thanks!
Hi! It seems that the fasttext changed their model configuration, so our model parameters cannot be loaded by the new version of the fasttext. To solve this issue, you can degrade your fasttext to 0.8.3, which is the version we used before.
Thanks! I solved this problem successfully using your solution. Looking forward to your new work~
can you tell me how to degrade fasttext to 0.8.3? thank u