zpx0922 / Affective_Image_Filter

Affective Image Filter: Reflecting Emotions from Text to Images(AIFormer), Offical code for paper
7 stars 0 forks source link

Couldn't generate appropriate results as provided examples on the paper. #2

Open toneDrei79 opened 7 months ago

toneDrei79 commented 7 months ago

I've run the code test.py with the pair of content image and utterance which is same as the example on the paper but I couldn't get appropriate result as provided on the paper. (using golden gate bridge image with the text 'The Golden Bridge at sunset is a place of respite and rejuvenation, where I can escape the chaos of the world and find a moment of peace.' I've also tried few other pair of examples but didn't provide appropriate one.)

I made a very small modification on test.py, initially it had the part which loading pre-trained BERT from local (test.py, line 170,171), so Instead I removed comment out of line 168,169 to download it. I hope it doesn't affect to the result.

It seems entire utterance is processed, unlike the previous version which had a problem noted in a past issue.

Here the result of my trial The Golden Bridge at sunset is a place of respite and rejuvenation, where I can escape the chaos of the world and find a moment of peace _GoldenGateBridge

ethan-summer commented 3 weeks ago

i get the same problem

ethan-summer commented 3 weeks ago

have you addressed this problem?