<p dir="auto">/home/wj/anaconda2/bin/python2.7 /home/wj/PycharmProjects/untitled2/1.py<br>
Files already downloaded and verified<br>
Files already downloaded and verified<br>
truck  ship   cat  frog<br>
[1,  2000] loss: 2.224<br>
[1,  4000] loss: 1.857<br>
[1,  6000] loss: 1.713<br>
[1,  8000] loss: 1.607<br>
[1, 10000] loss: 1.555<br>
[1, 12000] loss: 1.495<br>
[2,  2000] loss: 1.423<br>
[2,  4000] loss: 1.374<br>
[2,  6000] loss: 1.373<br>
[2,  8000] loss: 1.326<br>
[2, 10000] loss: 1.309<br>
[2, 12000] loss: 1.280<br>
Finished Training<br>
Exception NameError: "global name 'FileNotFoundError' is not defined" in &lt;bound method _DataLoaderIter.<strong>del</strong> of &lt;torch.utils.data.dataloader._DataLoaderIter object at 0x7fa8c97b3050&gt;&gt; ignored<br>
('GroundTruth: ', '  cat  ship  ship plane')<br>
('Predicted: ', '  cat   car  ship  ship')<br>
Accuracy of the network on the 10000 test images: 54 %<br>
Accuracy of plane : 64 %<br>
Accuracy of   car : 69 %<br>
Accuracy of  bird : 40 %<br>
Accuracy of   cat : 35 %<br>
Accuracy of  deer : 53 %<br>
Accuracy of   dog : 42 %<br>
Accuracy of  frog : 76 %<br>
Accuracy of horse : 44 %<br>
Accuracy of  ship : 64 %<br>
Accuracy of truck : 51 %<br>
cpu<br>
Exception NameError: "global name 'FileNotFoundError' is not defined" in &lt;bound method _DataLoaderIter.<strong>del</strong> of &lt;torch.utils.data.dataloader._DataLoaderIter object at 0x7fa8aaaec810&gt;&gt; ignored</p>
<p dir="auto">Process finished with exit code 0</p>
<p dir="auto"><code class="notranslate">Traceback (most recent call last): File "trainval_net.py", line 322, in &lt;module&gt; rois_label = fasterRCNN(im_data, im_info, gt_boxes, num_boxes) File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 491, in __call__ result = self.forward(*input, **kwargs) File "/home/faster-rcnn.pytorch/lib/model/faster_rcnn/faster_rcnn.py", line 50, in forward rois, rpn_loss_cls, rpn_loss_bbox = self.RCNN_rpn(base_feat, im_info, gt_boxes, num_boxes) File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 491, in __call__ result = self.forward(*input, **kwargs) File "/home/faster-rcnn.pytorch/lib/model/rpn/rpn.py", line 87, in forward rpn_data = self.RPN_anchor_target((rpn_cls_score.data, gt_boxes, im_info, num_boxes)) File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 491, in __call__ result = self.forward(*input, **kwargs) File "/home/faster-rcnn.pytorch/lib/model/rpn/anchor_target_layer.py", line 157, in forward positive_weights = 1.0 / num_examples File "/usr/local/lib/python2.7/dist-packages/torch/tensor.py", line 320, in __rdiv__ return self.reciprocal() * other RuntimeError: reciprocal is not implemented for type torch.cuda.LongTensor Exception NameError: "global name 'FileNotFoundError' is not defined" in &lt;bound method _DataLoaderIter.__del__ of &lt;torch.utils.data.dataloader._DataLoaderIter object at 0x7fb842e6e3d0&gt;&gt; ignored</code></p>
<p dir="auto">This error is coming while implementing pytorch faster-rcnn repository. Any solutions please??</p>