javiribera / locating-objects-without-bboxes

PyTorch code for "Locating objects without bounding boxes" - Loss function and trained models
Other
249 stars 52 forks source link

some problems about usage #12

Closed 645873229 closed 4 years ago

645873229 commented 4 years ago

usage: train.py [-h] --train-dir TRAIN_DIR [--val-dir VAL_DIR] [--imgsize HxW] [--batch-size N] [--epochs N] [--nThreads N] [--lr LR] [-p P] [--no-cuda] [--no-data-augm] [--drop-last-batch] [--seed S] [--resume PATH] [--save PATH] [--log-interval N] [--max-trainset-size N] [--max-valset-size N] [--val-freq F] [--visdom-env NAME] [--visdom-server SRV] [--visdom-port PRT] [--optimizer OPTIM] [--replace-optimizer] [--max-mask-pts M] [--paint] [--radius R] [--n-points N] [--ultrasmallnet] [--lambdaa L] train.py: error: unrecognized arguments: --env-name sorghum

code have no argument name "--env-name",but you write it in your example

javiribera commented 4 years ago

You are right. I updated the example in the README to match the argparse. https://github.com/javiribera/locating-objects-without-bboxes/commit/fcbead6d5dff98b5d377169e7b105c66a458b1ea should fix this