Closed lakshmankanakala closed 5 years ago
The number of class in the 'ADE' dataset is 150, so will cause some problems for your customized dataset.
The simplest way is to modify this line of code to 3 (0, 1, 2). Of course, the original ADE dataset can not be used any more if you modified that line.
Or you can write a reader for your dataset.
One more thing, better use a larger batch size (larger than 8).
Thanks for the reply @holyseven . I have done as per your suggestion. I am training on my custom data. but unfortunately my system shut downed after 30,000 iterations.
Can I resume the training from the latest checkpoint. I have not found any input arguments for resume. Is there any modifications need to add ? please help me out.
Thanks.
You can modify the line about the saver of checkpoints, and the argument FLAGS.snapshot
, to save the checkpoints.
Then, loading the latest checkpoint has nothing special. For example, see https://github.com/hellochick/PSPNet-tensorflow/blob/master/train.py#L189-L196
Thanks for the response. I will do that.
I have converted my dataset as ADE format annotation images.
I have only two classes. like wise i will have only two pixel values 1 and 2 in annotation image rest all pixels will have 0.
I have used this command
After some iterations (650) , I am getting following error
I have seen issue #15 , but not worked.
I think data set representation would be wrong. like number of classes.
is there any way to check my custom data set in correct ADE format or not.
Please help me out, Thanks