Skip to content
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

text embeddings preparation #29

Open
SreenijaK opened this issue Jul 24, 2019 · 1 comment
Open

text embeddings preparation #29

SreenijaK opened this issue Jul 24, 2019 · 1 comment

Comments

@SreenijaK
Copy link

I want to train with my own data and to prepare my dataset and for that I'll have to convert text files to .t7 format for text embeddings. How do i achieve the same?

@shahhaard47
Copy link

I've submitted a pull request with requirements.txt file with the correct versions to be used to use this code and work with .t7 files. You can install those versions, like I did, to get it running quickly.

However, this comment describes how to update this code to use latest pytorch version. Other comments on this issue also state that load_lua used on older code is no longer supported and that you might be able to use torchfile.

Furthermore, to get it working with your own dataset, you may need to refer to the original repository and train your own text encoder for the captions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants