Comments (2)
Can you include the complete error message?
from cornernet-lite.
Can you include the complete error message?
D:\pytorch\CornerNet-Lite>python train.py CornerNet
ngpus_per_node= 1
准备读取参数 cfg_file= ./configs\CornerNet.json
Process 0: 加载所有数据集 loading all datasets...
Process 0: using 1 workers
coco_dir = B:/COCO2017/data\coco
self._split A train2017
self._data_dir B B:/COCO2017/data\coco\images\train2017
_anno_file C B:/COCO2017/data\coco\annotations\instances_train2017.json
loading annotations into memory...
Done (t=13.10s)
creating index...
index created!
coco_dir = B:/COCO2017/data\coco
self._split A val2017
self._data_dir B B:/COCO2017/data\coco\images\val2017
_anno_file C B:/COCO2017/data\coco\annotations\instances_val2017.json
loading annotations into memory...
Done (t=1.13s)
creating index...
index created!
系统配置 system config...
{'batch_size': 1,
'cache_dir': './cache',
'chunk_sizes': [1],
'config_dir': './config',
'data_dir': 'B:/COCO2017/data',
'data_rng': <mtrand.RandomState object at 0x000001B2AA7ABCA8>,
'dataset': 'COCO',
'decay_rate': 10,
'display': 100,
'learning_rate': 0.00025,
'max_iter': 500000,
'nnet_rng': <mtrand.RandomState object at 0x000001B2AA7ABCF0>,
'opt_algo': 'adam',
'prefetch_size': 5,
'pretrain': None,
'result_dir': './results',
'sampling_function': 'cornernet',
'snapshot': 5000,
'snapshot_name': 'CornerNet',
'stepsize': 450000,
'test_split': 'testing',
'train_split': 'training',
'val_iter': 100,
'val_split': 'validation'}
数据库配置 db config...
{'ae_threshold': 0.5,
'att_max_crops': 8,
'att_nms_ks': [3, 3, 3],
'att_ranges': [[96, 256], [32, 96], [0, 32]],
'att_ratios': [16, 8, 4],
'att_scales': [1, 1.5, 2],
'att_sizes': [[16, 16], [32, 32], [64, 64]],
'att_thresholds': [0.3, 0.3, 0.3, 0.3],
'border': 128,
'categories': 80,
'data_aug': True,
'gaussian_bump': True,
'gaussian_iou': 0.3,
'gaussian_radius': -1,
'init_sizes': [192, 255],
'input_size': [511, 511],
'lighting': True,
'max_per_image': 100,
'max_per_set': 40,
'max_scale': 32,
'merge_bbox': False,
'min_scale': 16,
'nms_algorithm': 'exp_soft_nms',
'nms_kernel': 3,
'nms_threshold': 0.5,
'num_dets': 1000,
'output_sizes': [[128, 128]],
'rand_center': True,
'rand_color': True,
'rand_crop': True,
'rand_scale_max': 1.4,
'rand_scale_min': 0.6,
'rand_scale_step': 0.1,
'rand_scales': array([0.6, 0.7, 0.8, 0.9, 1. , 1.1, 1.2, 1.3]),
'ref_dets': True,
'score_threshold': 0.05,
'test_flipped': True,
'test_scales': [1],
'top_k': 100,
'view_sizes': [],
'weight_exp': 8}
len of db: 118287
分布式 distributed: False
正式train args= Namespace(cfg_file='CornerNet', dist_backend='nccl', dist_url=None, distributed=False, gpu=None, initialize=False, rank=0, start_iter=0, workers=1, world_size=-1)
**train..... tart_iter 0 distributed False world_size -1 initialize False gpu None
**
Process 0: 创建模型 building model...
total parameters: 201035212
system_config= <core.config.SystemConfig object at 0x00000277868FB240> db= <core.dbs.coco.COCO object at 0x00000277868FB7B8> queue= <multiprocessing.queues.Queue object at 0x0000027843333710> sample_data= <function data_sampling_func at 0x00000277862A60D0> data_aug= True
启动预取数据 start prefetching data...
洗牌指数 shuffling indices...
system_config= <core.config.SystemConfig object at 0x000001D6A507B240> db= <core.dbs.coco.COCO object at 0x000001D6A507B7B8> queue= <multiprocessing.queues.Queue object at 0x000001D6ACC60F28> sample_data= <function data_sampling_func at 0x000001D6A4A560D0> data_aug= False
启动预取数据 start prefetching data...
洗牌指数 shuffling indices...
setting learning rate to: 0.00025
开始训练 training start...
Process 0: 迭代 100: 训练损失 11.960190773010254
Process 0: 迭代 100: 验证损失 8.793777465820312
Process 0: 迭代 200: 训练损失 7.868043422698975
Process 0: 迭代 200: 验证损失 10.156821250915527
0%| | 149/500000 [03:04<172:18:18, 1.24s/it]
=============
D:\pytorch\CornerNet-Lite\train.py
259 pprint.pprint(training_dbs[0].configs)
261 print("len of db: {}".format(len(training_dbs[0].db_inds)))
262 print("分布式 distributed: {}".format(args.distributed))
264 print("正式train args=",args)
265 train(training_dbs, validation_db, system_config, model, args)
from cornernet-lite.
Related Issues (20)
- Using a data set with only one category, Loss dropped to 0.003, but when testing, ap = -1 HOT 1
- AttributeError: 'builtin_function_or_method' object has no attribute 'view' HOT 1
- ModuleNotFoundError: No module named 'core' HOT 3
- Has anyone use another backbone networks to test the performance?
- About "add downsampling lyaer before the hourglass module and remove one in hourglass modue" HOT 1
- train error
- When I testing my own data, occur No module named 'test.xxx'
- The network architecture of CornerNet-Saccade
- Can not create the envs on the first step, list many config package when created from file conda_packagelist.txt Please help me!! HOT 1
- Duplicated boxes during soft_nms HOT 1
- some training issue HOT 1
- some questions about the structure of cornerNet-saccade HOT 1
- when run the demo.py, the program is stuck
- 0%| | 0/90000 [00:00<?, ?it/s]段错误(吐核)
- ImportError undefined symbol: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev HOT 1
- When I train the model on my own dataset, I met IndexError in cornernet_saccade.py HOT 1
- error while tarining on my new dataset which has same COCO format HOT 1
- A small running error
- About the software requirements HOT 1
- [W Resize.cpp:19] Warning: An output with one or more elements was resized since it had shape [16263], which does not match the required output shape [14926].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (function resize_output) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cornernet-lite.