nohup: ignoring input [INFO] select pg_catalog.version() (base.py:1853) [INFO] [raw sql] {} (base.py:1858) [INFO] select current_schema() (base.py:1853) [INFO] [raw sql] {} (base.py:1858) [INFO] show standard_conforming_strings (base.py:1853) [INFO] [raw sql] {} (base.py:1858) [INFO] BEGIN (implicit) (base.py:1027) [INFO] select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%(name)s (base.py:1853) [INFO] [generated in 0.00012s] {'name': 'sys_user'} (base.py:1858) [INFO] select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%(name)s (base.py:1853) [INFO] [cached since 0.00606s ago] {'name': 'sys_role'} (base.py:1858) [INFO] select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%(name)s (base.py:1853) [INFO] [cached since 0.009177s ago] {'name': 'rel_user_role'} (base.py:1858) [INFO] COMMIT (base.py:1087) [WARNING] This script is aimed to demonstrate how to convert theJSON file to a single image dataset, and not to handlemultiple JSON files to generate a real-use dataset. (labelme2VOCSeg_aicheckFrom.py:101) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) /home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. warnings.warn( /home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`. warnings.warn(msg) /home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained_backbone' is deprecated since 0.13 and may be removed in the future, please use 'weights_backbone' instead. warnings.warn( /home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights_backbone' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights_backbone=None`. warnings.warn(msg) Exception in thread Thread-1: Traceback (most recent call last): File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 207, in main train_tesk.StarTrain() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 180, in StarTrain _loop() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 112, in wrapped_function data = func(*args, **kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 159, in _loop self.train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq=10) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 73, in train_one_epoch for images, targets in metric_logger.log_every(data_loader, print_freq, header): File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/utilss.py", line 171, in log_every for obj in iterable: File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 628, in __next__ data = self._next_data() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 671, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/Dataset.py", line 58, in __getitem__ area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) IndexError: too many indices for tensor of dimension 1 [WARNING] This script is aimed to demonstrate how to convert theJSON file to a single image dataset, and not to handlemultiple JSON files to generate a real-use dataset. (labelme2VOCSeg_aicheckFrom.py:101) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) Exception in thread Thread-2: Traceback (most recent call last): File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 207, in main train_tesk.StarTrain() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 180, in StarTrain _loop() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 112, in wrapped_function data = func(*args, **kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 159, in _loop self.train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq=10) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 73, in train_one_epoch for images, targets in metric_logger.log_every(data_loader, print_freq, header): File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/utilss.py", line 171, in log_every for obj in iterable: File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 628, in __next__ data = self._next_data() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 671, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/Dataset.py", line 58, in __getitem__ area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) IndexError: too many indices for tensor of dimension 1 [WARNING] This script is aimed to demonstrate how to convert theJSON file to a single image dataset, and not to handlemultiple JSON files to generate a real-use dataset. (labelme2VOCSeg_aicheckFrom.py:101) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) Exception in thread Thread-3: Traceback (most recent call last): File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 207, in main train_tesk.StarTrain() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 180, in StarTrain _loop() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 112, in wrapped_function data = func(*args, **kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 159, in _loop self.train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq=10) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 73, in train_one_epoch for images, targets in metric_logger.log_every(data_loader, print_freq, header): File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/utilss.py", line 171, in log_every for obj in iterable: File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 628, in __next__ data = self._next_data() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 671, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/Dataset.py", line 58, in __getitem__ area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) IndexError: too many indices for tensor of dimension 1 [WARNING] This script is aimed to demonstrate how to convert theJSON file to a single image dataset, and not to handlemultiple JSON files to generate a real-use dataset. (labelme2VOCSeg_aicheckFrom.py:101) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) Exception in thread Thread-4: Traceback (most recent call last): File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 207, in main train_tesk.StarTrain() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 180, in StarTrain _loop() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 112, in wrapped_function data = func(*args, **kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 159, in _loop self.train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq=10) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 73, in train_one_epoch for images, targets in metric_logger.log_every(data_loader, print_freq, header): File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/utilss.py", line 171, in log_every for obj in iterable: File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 628, in __next__ data = self._next_data() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 671, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/Dataset.py", line 58, in __getitem__ area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) IndexError: too many indices for tensor of dimension 1 [WARNING] This script is aimed to demonstrate how to convert theJSON file to a single image dataset, and not to handlemultiple JSON files to generate a real-use dataset. (labelme2VOCSeg_aicheckFrom.py:101) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) CUDA is available! cuda /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_26.json Polygon must have points more than 2 /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_5.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_38.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_23.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_46.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_17.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_14.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_30.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_42.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_22.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_13.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_11.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_51.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_0.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_27.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_8.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_1.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_4.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_10.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_12.json None cuda /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_26.json Polygon must have points more than 2 /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_5.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_38.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_23.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_46.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_17.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_14.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_30.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_42.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_22.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_13.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_11.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_51.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_0.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_27.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_8.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_1.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_4.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_10.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_12.json cuda /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/masks /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_5.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_38.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_23.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_46.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_17.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_14.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_30.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_42.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_22.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_13.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_11.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_51.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_0.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_27.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_8.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_1.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_4.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_10.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182075175733436416/ori/labels/tucengbuliang_a_12.json cuda /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_5.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_23.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_46.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_14.json Polygon must have points more than 2 /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_55.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_30.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_77.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_67.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_11.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_0.json cuda /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_5.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_23.json /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/labels/tucengbuliang_a_46.json [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) [INFO] Saved to: /mnt/sdc/IntelligentizeAI/IntelligentizeAI/data_set/182423143779016704/ori/masks (labelme2VOCSeg_aicheckFrom.py:97) Exception in thread Thread-5: Traceback (most recent call last): File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 207, in main train_tesk.StarTrain() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 180, in StarTrain _loop() File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/controller/AlgorithmController.py", line 112, in wrapped_function data = func(*args, **kwargs) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 159, in _loop self.train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq=10) File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/train.py", line 73, in train_one_epoch for images, targets in metric_logger.log_every(data_loader, print_freq, header): File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/utilss.py", line 171, in log_every for obj in iterable: File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 628, in __next__ data = self._next_data() File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 671, in _next_data data = self._dataset_fetcher.fetch(index) # may raise StopIteration File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/wd/anaconda3/envs/aicheck_maskrcnn/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 58, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/mnt/sdc/algorithm/AICheck-MaskRCNN/app/maskrcnn/Dataset.py", line 58, in __getitem__ area = (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]) IndexError: too many indices for tensor of dimension 1