Open YanJohn opened 5 years ago
me too!
Sorry, the DTM wrapper was contributed externally and is not maintained. I don't know what's wrong, but you could try tracking down its original contributor to ask him/her, or debugging yourself.
We plan to remove theses wrappers from Gensim completely in one of the future releases.
Problem description
My code runs well when the mode is the default 'fit',but I wanna use the 'time' mode to analysis the corpus through time to see the topics in different times.But the 'time'mode seems not work.
At first it's the error returned from the gensim.utils :"returned non-zero exit status 1".
After I rewrite some code in utils.py,new errors occured that all the codes with the "np.loadtxt" in the dtmmodel dont work,actually all the txt are missing.
Do I use the 'time' in a wrong way or what?Or the 'time' mode dont work at all? What are you trying to achieve? What is the expected result? What are you seeing instead?
Steps/code/corpus to reproduce
model = DtmModel(path_to_dtm_binary,corpus = corpus,time_slices=[1] * len(corpus),id2word=dic,num_topics = num_topics,alpha = alpha,mode='fit')#this works well
dtm_time = DtmModel(path_to_dtm_binary,corpus = corpus,time_slices=[1] * len(corpus),id2word=dic,num_topics = num_topics,alpha = alpha,mode='time')
returns this error after I rewrite the code in utils.py.Before that,it returns the"returned non-zero exit status 1",which was the function:check_output error
OSError: C:\Users\Mamba\AppData\Local\Temp\ecbee0_train_out/lda-seq/gam.dat not found.
Versions
Please provide the output of: