Comments (5)
there should be 6 output folders after running GCC-Labeler:
jpgs, jsons, mats, pngs, segs, vis
Mask pictures are saved in segs/
. These *.raw files could be read by:
def getMask(rawfile):
stencil = np.fromfile(rawfile, 'uint8')
stencil = stencil.reshape(1080, 1920)
stencil = np.where(np.isin(stencil, (1, 17)), 1, 0).astype('uint8')# OUTDOOR
# stencil = np.where(np.isin(stencil, (9, 25)), 1, 0).astype('uint8')# INDOOR
return stencil
Missing files about 180 and 360 is OK, it would be generated when the number of people is larger than 360.
The quality of labels without these three mods would become worse. Because these pedestrians generated by GTA5 may not be labeled, and lens distortion would lead to mask with unmatched pixels.
from gcc-cl.
I'm really very sorry to bother you, could you please send me a raw
file to test?
Everytime I can only generated a total black image, I cannot locate where's the problem, because I'm a new hand on image processing relative Python module, I totally don't have a clue and searching the answer from everywhere.
from gcc-cl.
This is what you want, scene.zip
from gcc-cl.
Thank you very mush, after download your draw
file, I can display mask image using this code
mask = np.fromfile(raw_file, 'uint8').reshape(1080, 1920) * 255
mask = Image.fromarray(mask)
mask.show()
But if I try to load the raw
file generated myself, it will always be total black,
I installed all the mods you mentioned exactly, no map on screen, no HUD displayed, everything goes well except last step it asks me to press F5, nothing happened after I press F5, so I just restart the game myself.
Following are the files I generated myself, could you please help me to find out what's the matter with the file generated myself?
gta-collect-data.zip
label-data.zip
Or could you please send me your GCC-cl data from GTA5? So I'm able to check if it's the problem of my game not installing GCC-cl mod well or the GCC-label Python code I'm using.
from gcc-cl.
Oh, at last, I know the reason, MSAA should be turned off.
According to https://github.com/umautobots/GTAVisionExport/tree/master/managed
Thank you Elin24, I think this issue can be closed.
from gcc-cl.
Related Issues (20)
- Can we generate videos with people masked? HOT 1
- 代码写得我强迫症都犯了
- 哪里可以下到现成的数据集 HOT 1
- How do we stop the collecting process? HOT 2
- 无法打开包括文件
- How to get depth?
- which Verson of minhook and eigen, C++ standard of you used? HOT 1
- GCC-Labeler error HOT 2
- How does it work HOT 2
- Some issues about reproducing this project HOT 1
- Gives error when press 'L' HOT 3
- GCC-Collector Error HOT 1
- The error of GCC-Collector HOT 8
- Error occurs when I press L HOT 1
- The script didn't work
- Problem: collector freezes during characters’ spawning and doesn’t generate any data HOT 5
- Thermal view of the crowd?
- Format of JSON Files HOT 3
- blank image with groundtruth count actually is loading screen HOT 1
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 gcc-cl.