Closed zhangjx123 closed 4 years ago
It's located here: https://github.com/Jyouhou/UnrealText/blob/dc8460a8dff37c61d5bf290b013674bb0c42d429/code/UnrealText/Source/UnrealCV/Private/Commands/ObjectHandler.cpp#L667
Another possible cause is that the connection to the executable is not successful. Please first check whether the connection works.
It's located here:
Another possible cause is that the connection to the executable is not successful. Please first check whether the connection works.
I am confused about the way to start UE4 Engine after run 'python3 run_generation.py --UnrealProjectName $SceneName --languages Latin'. Before, we try to start it in the backend following the guidance in http://docs.unrealcv.org/en/master/reference/model_zoo.html#rr.
"I am confused about the way to start UE4 Engine after run 'python3 run_generation.py --UnrealProjectName $SceneName --languages Latin'"
was the executable launched successfully?
"I am confused about the way to start UE4 Engine after run 'python3 run_generation.py --UnrealProjectName $SceneName --languages Latin'"
was the executable launched successfully? yes. The command I used is "./UE4Editor /home/ziyan/PackagedEnvironment/RealisticRendering/Demo_RealisticRend/Demo_RealisticRend.uproject".
"I am confused about the way to start UE4 Engine after run 'python3 run_generation.py --UnrealProjectName $SceneName --languages Latin'"
was the executable launched successfully?
Above is the command and screenshot. I am looking forward for your kind guidance.
The command you used only loads the demo project with the UE editor.
However, you should launch the binary executable instead:
When I want to launch the binary executable in '../../../PackagedEnvironment/{UnrealProjectName}/Demo_RealisticRend/Binaries/Linux/Demo_RealisticRend' in terminal, it reports './Demo_RealisticRend: error while loading shared libraries: libApexCommonPROFILE.so: cannot open shared object file: No such file or directory' It is anything wrong?
Can you specify your environment?
"Demo_RealisticRend" is not a packaged executable. It can not be launched in this way. If you want to generate data, you should use packaged executables: https://github.com/Jyouhou/UnrealText/blob/master/ReleaseNote.md#4-packaged-scene-executables
When it run to Line 72 in TexPlacingModule.py, error occurred as 'FileNotFoundError: [Errno 2] No such file or directory: '/home/eecbd/github_project/UnrealText_CVPR2020/GeneratedData/DataFraction_14/WordCrops/adjusted_text_box.txt''. We can't find anywhere to save 'adjusted_text_box.txt' in your code, could you please help me solve this problem?