Coder Social home page Coder Social logo

.t7 caption files about pcme HOT 6 CLOSED

YangYang avatar YangYang commented on July 18, 2024
.t7 caption files

from pcme.

Comments (6)

SanghyukChun avatar SanghyukChun commented on July 18, 2024

@YangYang
Hi, thanks for your question. Could you provide a more detailed log?
I have confirmed that the following command works for my environment

python train_cub.py ./config/cub/pcme_cub.yaml --dataset_root <dataset_root> --caption_root <caption_root>/cvpr2016_cub/text_c10

Note that, cvpr2016_cub/text_c10 looks like this:

├── 001.Black_footed_Albatross.t7                       # t7 file you mentioned (not used by my code)
├── 001.Black_footed_Albatross                          # per-instance caption data used by my code
│   ├── Black_Footed_Albatross_0001_796111.h5           # not used by my code
│   ├── Black_Footed_Albatross_0001_796111.txt          # actual txt file loaded by my code
│   ├── Black_Footed_Albatross_0002_55.h5
│   ├── Black_Footed_Albatross_0002_55.txt
...

from pcme.

YangYang avatar YangYang commented on July 18, 2024

Yes, the composition of cvpr2016_cub/text_c10 is exactly what you said.
The reason I can't run this code is the image name doesn't match the caption name.
According to the link you gave to the image, I could get:
images/001.Black_footed_Albatross

  ├── Black_footed_Albatross_0001_2950163169.jpg                    
  ├── Black_footed_Albatross_0002_2293084168.jpg 
 ...

However, in the caption, the cvpr2016_cub/text_c10/001.Black_footed_Albatross is contains:

  ├── Black_Footed_Albatross_0001_796111.txt
  ├── Black_Footed_Albatross_0002_55.txt
 ...

from pcme.

sawant-nidhish avatar sawant-nidhish commented on July 18, 2024

@SanghyukChun Sir, Firstly Thank You for the briliant work! Even I am facing the same problem as @YangYang.

Yes, the composition of cvpr2016_cub/text_c10 is exactly what you said.
The reason I can't run this code is the image name doesn't match the caption name.
According to the link you gave to the image, I could get:
images/001.Black_footed_Albatross

  ├── Black_footed_Albatross_0001_2950163169.jpg                    
  ├── Black_footed_Albatross_0002_2293084168.jpg 
 ...

However, in the caption, the cvpr2016_cub/text_c10/001.Black_footed_Albatross is contains:

  ├── Black_Footed_Albatross_0001_796111.txt
  ├── Black_Footed_Albatross_0002_55.txt
 ...

from pcme.

SanghyukChun avatar SanghyukChun commented on July 18, 2024

@YangYang @sawant-nidhish
Oh, I see. Thanks for your detailed reports!
I will take a look into the issue, and revise the code as soon as possible.

from pcme.

YangYang avatar YangYang commented on July 18, 2024

@SanghyukChun
Thank you for your attention!
I will wait patiently for your reply.

from pcme.

SanghyukChun avatar SanghyukChun commented on July 18, 2024

@YangYang @sawant-nidhish
Aha, I found that the link for the CUB dataset is wrong.
I used CUB-200-2011, the extended version, but the link is the 2010 version.
Please re-download the dataset in http://www.vision.caltech.edu/visipedia/CUB-200-2011.html
I just revised the README document

Thanks for your questions!

from pcme.

Related Issues (10)

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.