-
Notifications
You must be signed in to change notification settings - Fork 78
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
Questions about AttributeError: Missing attribute "user_labels_for_eval" #47
Comments
Hi! In regards to your first question, I've had a similar issue and it's a typo in the code. Check out my pull request with the fix: #45 |
Thank you for your answer. It was very useful and helped me solve problem 1. But after running, a new problem appeared immediately, that is,' Tensordataset' object has no attribute' data' (I think it is related to question 2? ) Have you ever met it?
|
And there's a new error: |
Hi! I've only tried working with custom datasets and haven't encountered this issue yet |
Thank you for your patient answer. I will continue to study it. |
Hey @ShenZC25 ! Regarding the second problem - we use the PyTorch interface to auto-download available datasets to your directory of choice (e.g., data). For example, if you run DeepDPM on the MNIST dataset, it would be automatically downloaded. If you choose to use other datasets, you would need to download them yourself, and just point DeepDPM to the embeddings location using the --dir flag. |
Hello, thank you for your excellent work! I just started running your program according to the description file, but I have encountered some problems.
First of all, I ran 'python DeepDPM.py --dataset synthetic --log_emb every_n_epochs --log_emb_every 1' according to the instructions, but reported the error AttributeError: Missing Attribute "user _ labels _ for _ eval". I don't know how to set this user_labels_for_eval. (I remember that the documentation said that this was not needed for training, but I don't know why I reported an error.)
Secondly, you mentioned that you don't need to download the data set during raw data training, and it will be automatically downloaded to data ('When training on raw data (e.g., on MNIST, Reuters10k) the data for MNIST will be automatically downloaded to the "data" directory. For reuters10k, the user needs to download the dataset independently (available online) into the "data" directory.'). Is this training directly from the original data set online? Because I didn't see the data folder (my understanding is that the program will automatically download the data set and generate a response folder)
Thank you for your answer.
The text was updated successfully, but these errors were encountered: