Pointnet2_PyTorch icon indicating copy to clipboard operation
Pointnet2_PyTorch copied to clipboard

how to disable progress bar

Open triple-tam opened this issue 6 years ago • 1 comments

When running train.py in Pycharm, I see such outputs:

epoch 3
                                                       
epochs:   0%|          | 1/200 [00:01<01:45,  1.89it/s]
                                                       
epochs:   0%|          | 1/200 [00:01<01:45,  1.89it/s]
                                                       
epochs:   0%|          | 1/200 [00:01<01:45,  1.89it/s]
                                                       
epochs:   0%|          | 1/200 [00:01<01:45,  1.89it/s]
                                                       
epochs:   0%|          | 1/200 [00:01<01:45,  1.89it/s]
epochs:   1%|          | 2/200 [00:01<01:42,  1.93it/s]
train: 100%|██████████| 1/1 [00:00<00:00,  4.37it/s, total_it=2]
epochs:   1%|          | 2/200 [00:01<01:42,  1.93it/s]
                                                                
val:   0%|          | 0/1 [00:00<?, ?it/s]
val: 100%|██████████| 1/1 [00:00<00:00,  8.19it/s]
                                                  
train:   0%|          | 0/1 [00:00<?, ?it/s]
train:   0%|          | 0/1 [00:00<?, ?it/s, total_it=3]=== Training Progress ===
acc  --- train: 0.2829	val: 0.1620	

loss --- train: 2.7759	val: 12.3251	

How can I disable the progress bar?

"Training Progress" can stay, and that one is located in site-packages... viz.py or so.

triple-tam avatar Apr 18 '19 10:04 triple-tam

The progress bars are here: https://github.com/erikwijmans/etw_pytorch_utils/blob/master/etw_pytorch_utils/pytorch_utils.py#L755

There unfortunately isn't an option to turn them off currently.

erikwijmans avatar Apr 18 '19 15:04 erikwijmans