oyam / Semantic-Segmentation-using-Adversarial-Networks

Chainer Implementation of Semantic Segmentation using Adversarial Networks
https://arxiv.org/abs/1611.08408
MIT License
103 stars 41 forks source link

weird when running train.py #1

Closed brisker closed 7 years ago

brisker commented 7 years ago

Run the training /home/jcc/Semantic-Segmentation-using-Adversarial-Networks/utils.py:193: RuntimeWarning: invalid value encountered in true_divide acc_cls = np.diag(hist) / hist.sum(axis=1) /home/jcc/Semantic-Segmentation-using-Adversarial-Networks/utils.py:195: RuntimeWarning: invalid value encountered in true_divide iu = np.diag(hist) / (hist.sum(axis=1) + hist.sum(axis=0) - np.diag(hist))

and the training just seems to stop here, and nothing indicating the training process is showing here! And if I ignore this by: import numpy as np np.seterr(divide='ignore', invalid='ignore'), the training stop here too. Is this cause by not finding the data? But my dataset is already here: image