alievk / npbg

Neural Point-Based Graphics
MIT License
324 stars 51 forks source link

How to generate data on server ? #24

Open bachtx12 opened 2 years ago

bachtx12 commented 2 years ago

I try to generate data for training data on a server, but not work. I run the command:

python generate_dataset.py --config downloads/person_1.yaml

and log:

loading pointcloud...
=== 3D model ===
VERTICES:  3072078
EXTENT:  [-16.5258255  -14.02860832 -30.76384926] [ 10.81384468   2.03398347 -20.07631493]
================
proj_matrix was not set
viewport size  (4000, 2656)
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[w] b'The GLFW library is not initialized'
[x] Window creation failed
deleting buffers...

Do you have any code to generate data on servers? Thank you!

seva100 commented 2 years ago

@bachtx12, sorry for a late reply. Have you tried running generate_dataset.py in the Docker container? See https://github.com/alievk/npbg/tree/master/docker for the example.