vmf_vae_nlp icon indicating copy to clipboard operation
vmf_vae_nlp copied to clipboard

Which file include writing 'label.test.txt' of a certain dataset(ex.yelp)?

Open hyeseonko opened this issue 5 years ago • 3 comments

Hi, sorry for asking too much.... When I run label_matching code, I got this error. I couldn't find which code should be run before label_matching. (I am stuck here.)

I run the code in this order.

  1. nvll.py
  2. analyze_nvrnn.py
  3. analyze_samples.py
  4. label_matching.py (i think i am stuck here)
  5. train_classifier.py

Thank you so much for reading this issue. Hyeseon.

hyeseonko avatar Dec 12 '18 14:12 hyeseonko

label_matching.py is not used I suppose. I am not 100% sure about the function of label_matching.py. It is designed for reading TREC dataset which finally is not used as our data set. I added several lines of comment for train_classifier.py.

jiacheng-xu avatar Dec 12 '18 14:12 jiacheng-xu

Hi, sorry for asking too much.... When I run label_matching code, I got this error. I couldn't find which code should be run before label_matching. (I am stuck here.)

I run the code in this order.

  1. nvll.py
  2. analyze_nvrnn.py
  3. analyze_samples.py
  4. label_matching.py (i think i am stuck here)
  5. train_classifier.py

Thank you so much for reading this issue. Hyeseon.

analyze_*.py are used for visualizing the model which is poorly documented lol. Sorry about that.

jiacheng-xu avatar Dec 12 '18 14:12 jiacheng-xu

Thank you for your reply :) Just now, I run train_classifier.py (to calculate the label accuracy for the generated sentences of yelp dataset) but I got this error again.

FileNotFoundError: [Errno 2] No such file or directory: 'Datayelp_Distvmf_Modelnvrnn_EnclstmBiFalse_Emb100_Hid400_lat50_lr10_drop0.5_kappa80_auxw1e-05_normfFalse_nlay1_mixunk0_inpzTrue_cdbit50_cdbow0_ann0_4.024960820935416logs_train.lab.txt'

I couldn't find where i can write the file of logs_train.lab.txt in the whole code. Sorry for bothering your time and thank you so much. Hyeseon.

hyeseonko avatar Dec 12 '18 14:12 hyeseonko