├── README.md └── .gitignore /README.md: -------------------------------------------------------------------------------- 1 | # Flickr Datasets 2 | 3 | This repository contains Flicr image-to-text pair datasets (8k and 30k). Each image contains 5 captions. 4 | 5 | ## Flick8k 6 | To download flickr8k dataset, run following code, 7 | 8 | ```shell 9 | !wget "https://github.com/awsaf49/flickr-dataset/releases/download/v1.0/flickr8k.zip" 10 | !unzip -q flickr8k.zip -d ./flickr8k 11 | !rm flickr8k.zip 12 | !echo "Downloaded Flickr8k dataset successfully." 13 | ``` 14 | 15 | ## Flickr30k 16 | To download flickr30k dataset run following code, 17 | 18 | ```shell 19 | !wget "https://github.com/awsaf49/flickr-dataset/releases/download/v1.0/flickr30k_part00" 20 | !wget "https://github.com/awsaf49/flickr-dataset/releases/download/v1.0/flickr30k_part01" 21 | !wget "https://github.com/awsaf49/flickr-dataset/releases/download/v1.0/flickr30k_part02" 22 | !cat flickr30k_part00 flickr30k_part01 flickr30k_part02 > flickr30k.zip 23 | !rm flickr30k_part00 flickr30k_part01 flickr30k_part02 24 | !unzip -q flickr30k.zip -d ./flickr30k 25 | !rm flickr30k.zip 26 | !echo "Downloaded Flickr30k dataset successfully." 27 | ``` 28 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | pip-wheel-metadata/ 24 | share/python-wheels/ 25 | *.egg-info/ 26 | .installed.cfg 27 | *.egg 28 | MANIFEST 29 | 30 | # PyInstaller 31 | # Usually these files are written by a python script from a template 32 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 33 | *.manifest 34 | *.spec 35 | 36 | # Installer logs 37 | pip-log.txt 38 | pip-delete-this-directory.txt 39 | 40 | # Unit test / coverage reports 41 | htmlcov/ 42 | .tox/ 43 | .nox/ 44 | .coverage 45 | .coverage.* 46 | .cache 47 | nosetests.xml 48 | coverage.xml 49 | *.cover 50 | .hypothesis/ 51 | .pytest_cache/ 52 | 53 | # Translations 54 | *.mo 55 | *.pot 56 | 57 | # Django stuff: 58 | *.log 59 | local_settings.py 60 | db.sqlite3 61 | db.sqlite3-journal 62 | 63 | # Flask stuff: 64 | instance/ 65 | .webassets-cache 66 | 67 | # Scrapy stuff: 68 | .scrapy 69 | 70 | # Sphinx documentation 71 | docs/_build/ 72 | 73 | # PyBuilder 74 | target/ 75 | 76 | # Jupyter Notebook 77 | .ipynb_checkpoints 78 | 79 | # IPython 80 | profile_default/ 81 | ipython_config.py 82 | 83 | # pyenv 84 | .python-version 85 | 86 | # pipenv 87 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 88 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 89 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 90 | # install all needed dependencies. 91 | #Pipfile.lock 92 | 93 | # celery beat schedule file 94 | celerybeat-schedule 95 | 96 | # SageMath parsed files 97 | *.sage.py 98 | 99 | # Environments 100 | .env 101 | .venv 102 | env/ 103 | venv/ 104 | ENV/ 105 | env.bak/ 106 | venv.bak/ 107 | 108 | # Spyder project settings 109 | .spyderproject 110 | .spyproject 111 | 112 | # Rope project settings 113 | .ropeproject 114 | 115 | # mkdocs documentation 116 | /site 117 | 118 | # mypy 119 | .mypy_cache/ 120 | .dmypy.json 121 | dmypy.json 122 | 123 | # Pyre type checker 124 | .pyre/ 125 | --------------------------------------------------------------------------------