second.pytorch icon indicating copy to clipboard operation
second.pytorch copied to clipboard

train.py error

Open vasdvczxc opened this issue 4 years ago • 1 comments

Hi, I got an error when I'm trying train model.

My command is python ./pytorch/train.py --config_path=./configs/pointpillars/car/xyres_16.proto --model_dir=/path/to/model_dir

ERROR: Cannot find key: --config_path=./configs/pointpillars/car/xyres_16.proto Usage: train.py <group|command> available groups: copy | json | os | pickle | shutil | time | re | fire | np | torch | text_format | kitti | torchplus | target_assigner_builder | voxel_builder | box_np_ops | pipeline_pb2 | box_coder_builder | input_reader_builder | lr_scheduler_builder | optimizer_builder | second_builder | psutil available commands: Path | merge_second_batch | merge_second_batch_multigpu | SimpleModelLog | ProgressBar | example_convert_to_torch | build_network | freeze_params | freeze_params_v2 | filter_param_dict | train | evaluate | helper_tune_target_assigner | mcnms_parameters_search

Anyone somebody help me?

Thank you.

vasdvczxc avatar Feb 03 '21 01:02 vasdvczxc

Hi, I think you missed the word train before --config_path option, like the following:

python ./pytorch/train.py train --config_path=./configs/car.fhd.config --model_dir=/path/to/model_dir

tojimahammatov avatar Mar 11 '21 03:03 tojimahammatov