Comments (12)
Maybe you should read the code more carefully, we assign different anchors in the data_prep/get_cityscapes_list.py:
for i in range(1, 8):
train_lst.append([str(index), p, l, "512", str(256 * i)])
And together with TuSimple-DUC/tusimple_duc/core/utils.py
def get_single_image_duc(item, input_args):
That's exactly how we do data augmentation.
from tusimple-duc.
@chienyiwang fix by #7
from tusimple-duc.
see #2.
from tusimple-duc.
Hi @GrassSunFlower Thanks for the reply. However, the list only provides the image/annotation filename in each line. Would you be able to provide the download link of actual augmented training data for easier training? Thank you!
from tusimple-duc.
Hi @GrassSunFlower, I see. Sorry I presumed you are extracting 35700 images into a separate folder which follows the usual segmentation data pipeline. Thanks for the explanation!
from tusimple-duc.
Hi @GrassSunFlower , could I ask some questions related to the gen_cityscapes_list.py code?
- What is the usage of the following code segment
if index % sample_rate != 2: continue
- What is the reason for printing out the same line twice (from line 28-30)?
for line in train_lst:
print >> train_out, '\t'.join(line)
print >> train_out, '\t'.join(line)
Thank you very much!
from tusimple-duc.
These two statements should be two bugs.
Thanks for your patience. I'll fix them shortly.
from tusimple-duc.
Hi,@chienyiwang
Have you trained the model on the Cityscapes?
what's the performance your trained model on the val dataset?
from tusimple-duc.
Hi ,@GrassSunFlower @wpqmanu Is there a error in data_prep/get_cityscapes_list.py. the train lst has only 20825 lines, not 35700. because of range(1,8) = [1,2,3,4,5,6,7]
from tusimple-duc.
Nope.
35700 should came from our paper saying that
Since the image size in the Cityscapes dataset
is 1024 × 2048, which is too big to fit in the GPU memory,
we partition each image into twelve 800×800 patches with
partial overlapping, thus augmenting the training set to have
35700 images.``` which is in the 'baseline model'.
And our actual augmentation utilized is in 'Bigger Patch Size', which says
Since the patch size
exceeds the maximum dimension (800 × 800) in the previous
12-fold data augmentation framework, we adopt a new
7-fold data augmentation strategy: seven center locations
with x = 512, y = {256, 512, ..., 1792} are set in the original
image;
which is 7*2975.
Hope this will help you out. @shipeng-uestc
from tusimple-duc.
@GrassSunFlower Thanks for your reply. I figure out it.
I have another question. Can I use directly init.param to train on cityscape fine annotation dataset and need not to change super-paramter i.e. batch_size learning rate and so on.
from tusimple-duc.
Sure you do.
from tusimple-duc.
Related Issues (20)
- Reproduce failed. HOT 2
- Do you use Synchronized Batch normalization? HOT 2
- How to set the custom learning rate. HOT 1
- Fail to use other gpus except gpus =0 HOT 1
- training from pretrained model (resnet101) need so much time ?
- When I set 2 gpu, There are an error
- What is the `test_scales` in multiple scale testing? HOT 2
- Resnet 152 python network file. HOT 1
- Questions HOT 1
- A issue during trainning the network. HOT 1
- Data prep script HOT 2
- Could not read from remote repository. HOT 1
- Hello,I am interesting in your work,but I have a trouble
- mobile network HOT 1
- nice to meet you,can you help me ?there is an error in you code, HOT 1
- crf HOT 1
- hi,I try your DUC method as decoder on my network(similiar to mobile net for high performance),but there are many grid on the predicted alpha HOT 1
- A question about DUC HOT 2
- Evaluate PASCAL VOC 2012 test set
- troubles met in the procedure of testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tusimple-duc.