Comments (5)
Hi mi2celis,
Thanks for the question.
To train the model on Cityscaspes semantic segmentation, you do not need to change anything except use the resnet50_os32_semseg.textproto.
The dataset name in the textproto should still be "cityscapes_panoptic" (as shown here) and the dataset is converted in the same way as the tutorial.
The code currently only reads panoptic dataset format, as shown in this line.
Hope that helps.
Cheers,
from deeplab2.
Got it! Thank you for the prompt reply.
So, if my dataset only contains semantic segmentation annotations, can I still use DeepLab2 to train as explained in the section to convert your own dataset ?
from deeplab2.
Hi mi2celis,
Yes, that is correct. Basically, you consider your dataset as the one that contains only stuff
classes.
I think we have a typo in the doc about setting panoptic_label_divisor=None
where you should actually still set a panoptic_label_divisor (e.g., 256 or even smaller) since the code only reads panoptic dataset format at the moment (e.g., here).
We will update the doc soon. Thanks for bringing up the issue.
Additionally, you may first want to make sure if you could successfully train Cityscapes semantic segmentation.
Cheers,
from deeplab2.
Hi mi2celis,
Let me add a bit more details here which may be helpful when you will be converting your own dataset.
Since the code only reads panoptic data at the moment, you need to set panoptic_label_divisor = k
, where k is any integer, instance_id = 0
, and class_has_instances_list = []
(i.e., we treat the dataset as the one that contains only stuff
classes), when you are (1) converting the dataset to TFRecord, and (2) adding dataset information in dataset.py.
We will update the doc to include this information soon.
Please feel free to report some more issues afterwards.
Cheers,
from deeplab2.
Closing the issue as there is no active discussion for a while.
Please feel free to reopen or create a new one if you still have any questions.
from deeplab2.
Related Issues (20)
- Implementations on the RaspberryPi and Google Coral Devboard HOT 1
- About `window_size` in MOAT HOT 3
- kMaX onnx export and trt export fails
- Visual result output for KMaX-DeepLab model HOT 2
- Error when compiling custom ops(CPU or GPU) HOT 3
- Unstable numeric output for downstream task (moat 4 w/o pos) HOT 1
- Op type not registered 'MergeSemanticAndInstanceMaps' in binary running on wvmgputprseus
- Logits and scores of semantic prediction
- Code compatibility with python < 3.9
- ValueError: Dimensions must be equal
- The architecture of kMaX Transformer Decoder seems not consistent with Fig.1 in the paper HOT 2
- Towards End-to-End Unified Scene Text Detection and Layout Analysis
- test error in macbook m1
- How to export_model on GPU mode ?
- How to identify model is using GPU ?
- How long it takes to train kMaXDeepLab on Cityscapes with batch size = 32? HOT 1
- Keras.optimizers has not attribute "legacy"
- How to train on Waymo?
- MOAT training code
- How many memory do I need for traning a kmax model when I use the resnet50 as the backbone?
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 deeplab2.