crack_segmentation icon indicating copy to clipboard operation
crack_segmentation copied to clipboard

Have you encountered this problem?Thanks to answer

Open yaoyao007007 opened this issue 3 years ago • 0 comments

Traceback (most recent call last): File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/visdom/init.py", line 711, in _send data=json.dumps(msg), File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/visdom/init.py", line 677, in _handle_post r = self.session.post(url, data=data) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/requests/sessions.py", line 578, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/requests/sessions.py", line 530, in request resp = self.send(prep, **send_kwargs) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/requests/sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/requests/adapters.py", line 510, in send raise ProxyError(e, request=request) requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=7890): Max retries exceeded with url: http://localhost:8097/events (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response'))) item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6192.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6192.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6219.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6219.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6221.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6221.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6225.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6225.bmp'] 0%| | 0/39 [00:00<?, ?it/s]bar 0%| | 0/39 [00:00<?, ?it/s] Epoch 1 --- Training --- :: 0%| | 0/39 [00:00<?, ?it/s]item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6194.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6194.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6220.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6220.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6229.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6229.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6228.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6228.bmp'] item ['/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260/6206.jpg', '/home/featurize/data/DeepCrack-datasets/CrackTree260/CrackTree260_gt/6206.bmp'] /environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/torch/nn/functional.py:693: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.) return torch._C._nn.max_pool2d_with_indices(input, kernel_size, stride, padding, dilation, ceil_mode) /environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/torch/nn/functional.py:3613: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details. "See the documentation of nn.Upsample for details.".format(mode) Epoch 1 --- Training --- :: 0%| | 0/39 [00:00<?, ?it/s] Traceback (most recent call last): File "train.py", line 198, in main() File "train.py", line 67, in main pred = trainer.train_op(data, target) File "/cloud/DeepCrack-master/codes/trainer.py", line 39, in train_op pred_output, pred_fuse5, pred_fuse4, pred_fuse3, pred_fuse2, pred_fuse1 = self.model(input) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 166, in forward return self.module(*inputs[0], **kwargs[0]) File "/environment/python/versions/miniconda3-4.7.12/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) File "/cloud/DeepCrack-master/codes/model/deepcrack.py", line 154, in forward output = self.final(torch.cat([fuse5,fuse4,fuse3,fuse2,fuse1],1)) RuntimeError: Sizes of tensors must match except in dimension 2. Got 600 and 592 (The offending index is 0)

yaoyao007007 avatar Nov 07 '21 09:11 yaoyao007007