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

Questions about datasets and code #1

Open
villa1233 opened this issue Apr 1, 2019 · 5 comments
Open

Questions about datasets and code #1

villa1233 opened this issue Apr 1, 2019 · 5 comments

Comments

@villa1233
Copy link

Hi, thanks for your code. When I read your code, I run into some troubles.
I can't find some files used in programs,such as feature_maps.npy.Do these files come from running this program or from other programs

@sabazainab996
Copy link

Hi, Thank you for your code. I am executing the code and I run into some troubles. Some files are missing like feature_maps.npy is missing. Kindly guide about it. Have you forgotten to upload it or is it from other programs?

@charleneolive
Copy link

Hello, for feature_maps.npy you can reimplement it from what is written in the paper. It says in the paper:

To embed images such that the encoding represents such semantic information, we use the last hidden layer of VGG pretrained network on Imagenet (Simonyan and Zisserman, 2015), followed by compact bilinear pooling (Gao et al., 2016), to obtain the embedding of the images.

You can get the actual images from : https://github.com/pouyapez/mkbe/tree/master/datasets/Movielens-100k%20plus

I have implemented it here: https://gist.github.com/charleneolive/0d2ae34d9883452d1fe52065c6759331 and found that the code works for the movie dataset.

Hope it helps:)

@charleneolive
Copy link

Hi, Thank you for your code. I am executing the code and I run into some troubles. Some files are missing like feature_maps.npy is missing. Kindly guide about it. Have you forgotten to upload it or is it from other programs?

Hi, thanks for your code. When I read your code, I run into some troubles.
I can't find some files used in programs,such as feature_maps.npy.Do these files come from running this program or from other programs

I am replying both of you so that you get to see it here:)

In addition, when I was trying to implement the code, I also realised the compact_bilinear_pooling_layer function is not provided. I found this implementation (https://github.com/ronghanghu/tensorflow_compact_bilinear_pooling), and when I used it, the code works like a charm.

@GYGWG
Copy link

GYGWG commented Aug 11, 2021

Hi, thanks for your code. I am wondering how did you make the code executable? I have trouble running the code, especially for the MKBE folder. I appreciate if you may kindly provide some instructions for the code usage.

According to my understanding, I should first run through MKBE to generate embeddings, then use these embeddings as input for DesGAN and ImgGAN to generate corresponding descriptions and images. Am I right? Please advise.

@JiaoYuanZhou
Copy link

Hi, thanks for your code. I am wondering how did you make the code executable? I have trouble running the code, especially for the MKBE folder. I appreciate if you may kindly provide some instructions for the code usage.

According to my understanding, I should first run through MKBE to generate embeddings, then use these embeddings as input for DesGAN and ImgGAN to generate corresponding descriptions and images. Am I right? Please advise.

Do you know how to run it now?

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

5 participants