David0tt / DeepGTAV

A system to easily extract ground truth training data for different machine learning tasks from GTAV
GNU General Public License v3.0
89 stars 9 forks source link

Folder got generated but not able to see any images, metadata and lables. #10

Open saketsonekar opened 1 year ago

saketsonekar commented 1 year ago

I ran the data generation, it is working fine, folder got created in the path and the count is going on but data is not getting generated

C-der-Baum commented 1 year ago

Hard to tell based on the limited amount of information.

However, my first go-to in that case would be to check if all the resolution information has been set correctly, i.e. check the Game Settings as depicted in the README again (in particular in NVIDIA GeForce, and in VPilot/utils/Constanty.py). The most common error is that they do not match as required.

Let me know if that helps. If it does not, post the numbers you entered here and the resolution of your screen.

RuiCheng19950208 commented 1 year ago

Hello guys. As for the Constants.py I changed it into the script below. ` MANAGED_SCREEN_RESOLUTION = "1914x1051" if MANAGED_SCREEN_RESOLUTION != None: if MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] elif MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] elif MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] else: raise ValueError("MANAGED_SCREEN_RESOLUTION not recognized, add the wanted settings to VPilot/utils/Constants.py")

IMG_WIDTH, IMG_HEIGHT = FRAME ` But I still cannot get any output images. Here is the screenshots we got. https://drive.google.com/drive/folders/1ht8NC76n7NjaKUYvtcB4PoRmep0QJ399?usp=sharing

C-der-Baum commented 1 year ago

Check the following:

RuiCheng19950208 commented 1 year ago

Hi, we have already get some screenshot by python scripts. However, the Bounding box is still not working. I think the main problem comes from message part [message = client.recvMessage()] and message['bbox2d'] always equal to None. Do you have any suggestion about this problem? Thanks for your reply

Ben93kie commented 1 year ago

Whenever I or colleagues of me encountered these kinds of issues, it almost always was one of the following:

I'm sorry that I can't give you a more precise answer as of now. As a hacky test, you could use a different screen and take the default configs as given here.

lsq210 commented 1 year ago

Hello guys. As for the Constants.py I changed it into the script below. ` MANAGED_SCREEN_RESOLUTION = "1914x1051" if MANAGED_SCREEN_RESOLUTION != None: if MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] elif MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] elif MANAGED_SCREEN_RESOLUTION == "1914x1051": FRAME=[1914, 1051] SCREEN_RESOLUTION=[1914, 1051] else: raise ValueError("MANAGED_SCREEN_RESOLUTION not recognized, add the wanted settings to VPilot/utils/Constants.py")

IMG_WIDTH, IMG_HEIGHT = FRAME ` But I still cannot get any output images. Here is the screenshots we got. https://drive.google.com/drive/folders/1ht8NC76n7NjaKUYvtcB4PoRmep0QJ399?usp=sharing

I have the same problem as you. I modified the Constants.py but the output folder is still empty. How did you solve the problem?

FlyingTerran commented 1 year ago

https://github.com/David0tt/DeepGTAV/blob/bb17a099c55ffdf081613e1e236820f26d450130/DeepGTAV-PreSIL/ObjectDet/LiDAR.cpp#L627

This line is broken @David0tt . The two points are never on the plane. They are either <0 or >1, not by too much. Any clues?

michealangel commented 1 year ago

@RuiCheng19950208 did you manage to receive messages about bbox2d different from "None"?

Spearton commented 2 months ago

Same problem here, not opening any other windows after launching the game, like segmentation windows as shown in the demonstration video.

Already checked ScriptHook version and compatibility (1.0.3179.0) everything works fine as for the native. Changed graphic setting accordingly to the readme.

The bbox2d value is still "None", checked it for any presentation script files and also for all the data generating scripts, no images generated, directories still empty.

Any news ?