Comments (2)
I wrote two gists to convert GTAV and Cityscrapes labels to the format that MCA_DA expects. The links I used for the mappings are referenced in the gists.
labels_gtav_to_20classes.py
labels_cityscrapes_to_20classes.py
from mcd_da.
Thank you for sharing the code!
It is one way to prepare the dataset whose class labels are converted before training models as you did.
However, there is another way to convert class labels if you just want to evaluate.
The way is to prepare json files such as this (https://github.com/mil-tokyo/MCD_DA/blob/master/segmentation/dataset/synthia2cityscapes_info.json)
and then to change this line (
Line 231 in dca0861
) This way does not consume your data capacity because you can use the original dataset (do not have to prepare the dataset whose class ids are converted).
from mcd_da.
Related Issues (20)
- Loss is becoming negative HOT 3
- About datasets on classification HOT 3
- About the classifiers. HOT 1
- Replicating the results HOT 5
- When do segmentation task, you also need labels for target domain.
- Code for " Strong-Weak Distribution Alignment for Adaptive Object Detection " HOT 1
- Question about the handwritten digit experiment HOT 7
- cityscapes/info.json
- Some problems with building my own datasets on classificaion HOT 1
- question for location HOT 2
- Asking for the visualization code
- Reproduce the segmentation result HOT 3
- sharing svhn2mnist result
- Model Selection
- USPS->Mnist source-only result can't reach 0.634 HOT 2
- The misnt_data.mat dataset
- drn_d_105-12b40979.pth HOT 3
- The link (http://crcv.ucf.edu/data/adaptationseg/ICCV_dataset.zip) is lost.
- The difference between trainer and trainer_one_step
- synth traffic dataset
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 mcd_da.