FashionAI
Это репозиторий с кодом проекта FashionAI Global Challenge — Attributes Recognition of Apparel, основанного на PyTorch. Этот репозиторий предназначен только для обучения.
git clone https://github.com/Lmy0217/FashionAI.git
cd FashionAI
pip3 install -r requirements.txt
Сценарии обучения и тестирования имеют несколько опций, которые можно просмотреть с помощью флага --help
.
python3 main.py --help
Чтобы запустить обучение и тестирование, просто запустите main.py. По умолчанию скрипт запускает resnet34 для атрибута «coat_length_labels» с 50 эпохами.
Для обучения и тестирования resnet34 по атрибуту «collar_design_labels» со 100 эпохами и некоторыми параметрами обучения:
python3 main.py --model 'resnet34' --attribute 'collar_design_labels' --epochs 100 --batch-size 128 --lr 0.01 --momentum 0.5
Каждая обученная модель будет сохранена в папке save/[attribute]/[model].
Код лицензирован лицензией MIT.
You can comment after Login
Inappropriate content may be displayed here and will not be shown on the page. You can check and modify it through the relevant editing function
If you confirm that the content does not involve inappropriate language/advertisement redirection/violence/vulgar pornography/infringement/piracy/false/insignificant or illegal content related to national laws and regulations, you can click submit to make an appeal, and we will handle it as soon as possible.
Comments ( 0 )