split-folders
π Split folders with files (i.e. images) into training, validation and test (dataset) folders
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- test.yml
- __init__.py
- __init__.py
- cli.py
- grouping.py
- split.py
- utils.py
- andrew-umansky-714774-unsplash.jpg
- erik-witsoe-712604-unsplash.jpg
- heyhellowhatsup-jannes-707996-unsplash.jpg
- jacalyn-beales-669252-unsplash.jpg
- kasey-mccoy-755921-unsplash.jpg
- luke-stackpoole-656835-unsplash.jpg
- mitchell-orr-580906-unsplash.jpg
- nathalie-jolie-681356-unsplash.jpg
- pawel-adamczak-613470-unsplash.jpg
- raul-varzar-750436-unsplash.jpg
- vladislav-nikonov-641150-unsplash.jpg
- cesar-cardoso-574862-unsplash.jpg
- charles-deluvio-628938-unsplash.jpg
- daniel-cano-668929-unsplash.jpg
- david-taffet-563063-unsplash.jpg
- hannah-gibbs-595341-unsplash.jpg
- hannah-lim-708852-unsplash.jpg
- jamie-street-804226-unsplash.jpg
- jennifer-regnier-586172-unsplash.jpg
- patrick-hendry-723775-unsplash.jpg
- file_01.jpg
- file_02.jpg
- file_03.jpg
- file_04.jpg
- file_05.jpg
- file_06.jpg
- file_07.jpg
- file_08.jpg
- file_09.jpg
- file_10.jpg
- image_130.jpg
- image_130.txt
- image_1300.jpg
- image_1300.txt
- photo_1.jpg
- photo_1.txt
- photo_10.jpg
- photo_10.txt
- im_1.xml
- im_2.xml
- im_3.xml
- im_4.xml
- im_5.xml
- im_1.jpg
- im_2.jpg
- im_3.jpg
- im_4.jpg
- im_5.jpg
- im_1.xml
- im_1.jpg
- im_2.jpg
- andrew-umansky-714774-unsplash.jpg
- andrew-umansky-714774-unsplash.txt
- erik-witsoe-712604-unsplash.jpg
- erik-witsoe-712604-unsplash.txt
- heyhellowhatsup-jannes-707996-unsplash.jpg
- heyhellowhatsup-jannes-707996-unsplash.txt
- jacalyn-beales-669252-unsplash copy.jpg
- jacalyn-beales-669252-unsplash copy.txt
- jacalyn-beales-669252-unsplash.jpg
- jacalyn-beales-669252-unsplash.txt
- cesar-cardoso-574862-unsplash.jpg
- cesar-cardoso-574862-unsplash.txt
- charles-deluvio-628938-unsplash.jpg
- charles-deluvio-628938-unsplash.txt
- daniel-cano-668929-unsplash.jpg
- daniel-cano-668929-unsplash.txt
- david-taffet-563063-unsplash.jpg
- david-taffet-563063-unsplash.txt
- andrew-umansky-714774-unsplash.jpg
- andrew-umansky-714774-unsplash.txt
- erik-witsoe-712604-unsplash.jpg
- erik-witsoe-712604-unsplash.txt
- heyhellowhatsup-jannes-707996-unsplash.jpg
- heyhellowhatsup-jannes-707996-unsplash.txt
- jacalyn-beales-669252-unsplash copy.txt
- jacalyn-beales-669252-unsplash.jpg
- jacalyn-beales-669252-unsplash.txt
- cesar-cardoso-574862-unsplash.jpg
- cesar-cardoso-574862-unsplash.txt
- charles-deluvio-628938-unsplash.jpg
- charles-deluvio-628938-unsplash.txt
- daniel-cano-668929-unsplash.jpg
- daniel-cano-668929-unsplash.txt
- david-taffet-563063-unsplash.jpg
- david-taffet-563063-unsplash.txt
- andrew-umansky-714774-unsplash.jpg
- andrew-umansky-714774-unsplash.txt
- erik-witsoe-712604-unsplash.jpg
- erik-witsoe-712604-unsplash.txt
- heyhellowhatsup-jannes-707996-unsplash.jpg
- heyhellowhatsup-jannes-707996-unsplash.txt
- jacalyn-beales-669252-unsplash.jpg
- jacalyn-beales-669252-unsplash.txt
- jacalyn-beales-669252-unsplash.txt2
- cesar-cardoso-574862-unsplash.jpg
- cesar-cardoso-574862-unsplash.txt
- charles-deluvio-628938-unsplash.jpg
- charles-deluvio-628938-unsplash.txt
- daniel-cano-668929-unsplash.jpg
- daniel-cano-668929-unsplash.txt
- david-taffet-563063-unsplash.jpg
- david-taffet-563063-unsplash.txt
- __init__.py
- test_split.py
- .editorconfig
- .gitignore
- .pre-commit-config.yaml
- CHANGELOG.md
- LICENSE
- poetry.lock
- pyproject.toml
- README.md
- RELEASING.md
# μ€μΉ κ°μ΄λ
git clone https://github.com/jfilter/split-folders
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd split-folders
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²- Python 3 pip λͺ λ Ήμ΄λ₯Ό μ°λ €λ©΄ Pythonμ΄ νμν©λλ€.
pip install split-folders
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
pip install split-folders[full]
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Python
μ¬μpip install split-folders
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
pip install split-folders[full]
PyPIμ λ°°ν¬λ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
