sb1992 / NETL-Automatic-Topic-Labelling-

Generating labels for topics automatically using neural embeddings
Apache License 2.0
183 stars 53 forks source link

IOError: No such file or directory: 'predictionstemp' #8

Open srujana-tak opened 5 years ago

srujana-tak commented 5 years ago

Executing Supervised Model page Rank models loaded Data Gathered for supervised model letter trigram feature All features generated sh: support_files/svm_rank_classify: Permission denied Traceback (most recent call last): File "supervised_labels.py", line 249, in get_predictions(test_list,test_chunk_size) File "supervised_labels.py", line 219, in get_predictions h =open("predictionstemp") IOError: [Errno 2] No such file or directory: 'predictionstemp'

srujana-tak commented 5 years ago

Any help on how to solve this while executing supervised_labels.py file

thanhkhocnhe commented 5 years ago

your problem appear when you run on Windown, File predictionstemp will be create after run file binary svm_rank_classify (view code). On win, this file invalid. therefor i recommend you to run it on Linux :)

uzaymacar commented 4 years ago

The same issue persists in Linux for me.