Giter VIP home page Giter VIP logo

Comments (4)

yanbeic avatar yanbeic commented on September 13, 2024

Hi,
a new py file "generate_tags_fashion_iq.py" is provided in this repository to generate these files (e.g. asin2attr-train.txt, asin2attr-test.txt).

from val.

RiceZJH avatar RiceZJH commented on September 13, 2024

Thank you, and I got this error:
...
file = open(filename, "r")
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/fashion_iq/captions_pairs/fashion_iq-val-cap.txt'

Again I found there is no code to generate 'fashion_iq-val-cap.txt'. This problem also exsits in "fashion200k dataset" and "shoes dataset".

from val.

yanbeic avatar yanbeic commented on September 13, 2024

Hi,
The code "generate_caption_pairs.py" has been updated accordingly to generate these files (fashion_iq-val-cap.txt and fashion_iq-train-cap.txt). The similar files for shoes (shoes-cap-train.txt and shoes-cap-test.txt) can also be generated using this code.

On fashion200k, there is no need to generate any txt files. Once you download the fashion200k dataset, you can find a file called "test_queries.txt". Put it under the directory "datasets/fashion200k/" to run the code.

from val.

GDam90 avatar GDam90 commented on September 13, 2024

Hi,
the code "generate_captions_pairs.py" still not works for fashion_iq dataset. The error is given on line 88, when it tries to open readpath[k], that happens to be a single character. To solve this issue i replaced line 79:

readpath = readpaths[p]

with

readpath = readpaths[p*3:(p+1)*3]

as far as i can understand this should fix the problem, but i would really appreciate if the author could give me a feedback. Thanks.

from val.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.