Closed Armstrong-lsw closed 4 years ago
Try setting offsreen_rendering
to True
. Also, make sure that EGL is installed on your machine.
Try setting
offsreen_rendering
toTrue
. Also, make sure that EGL is installed on your machine.
Got it, I'll have a try. now ,I just run it on cpu-only mode for test.I'm busy in training edge-connect . Thank you very much.
After sudo apt install mesa-common-dev libglu1-mesa-dev I still got core dumped ubuntu16.04LTS on docker environment,32Gb Ram,GTX1080 cuda10,python3.6.5
argument.yml depth_edge_model_ckpt: checkpoints/edge-model.pth depth_feat_model_ckpt: checkpoints/depth-model.pth rgb_feat_model_ckpt: checkpoints/color-model.pth MiDaS_model_ckpt: MiDaS/model.pt fps: 40 num_frames: 240 x_shift_range: [0.00, 0.00, -0.02, -0.02] y_shift_range: [0.00, 0.00, -0.02, -0.00] z_shift_range: [-0.05, -0.05, -0.07, -0.07] traj_types: ['double-straight-line', 'double-straight-line', 'circle', 'circle'] video_postfix: ['dolly-zoom-in', 'zoom-in', 'circle', 'swing'] specific: '' longer_side_len: 240 src_folder: image depth_folder: depth mesh_folder: mesh video_folder: video load_ply: False save_ply: True inference_video: True gpu_ids: 0 offscreen_rendering: False img_format: '.jpg' depth_threshold: 0.04 ext_edge_threshold: 0.002 sparse_iter: 5 filter_size: [7, 7, 5, 5, 5] sigma_s: 4.0 sigma_r: 0.5 redundant_number: 12 background_thickness: 70 context_thickness: 140 background_thickness_2: 70 context_thickness_2: 70 discount_factor: 1.00 log_depth: True largest_size: 512 depth_edge_dilate: 10 depth_edge_dilate_2: 5 extrapolate_border: True extrapolation_thickness: 60 repeat_inpaint_edge: True crop_border: [0.03, 0.03, 0.05, 0.03] anti_flickering: True
result running on device 0 0%| | 0/10 [00:00<?, ?it/s]Current Source ==> 1 Running depth extraction at 1589181707.954943 initialize device: cpu start processing processing image/1.jpg (1/1) torch.Size([1, 3, 384, 288]) finished Start Running 3D_Photo ... Loading edge model at 1589181711.9811437 Loading depth model at 1589181716.0342855 Loading rgb model at 1589181717.5272942 Writing depth ply (and basically doing everything) at 1589181718.912788 Writing mesh file mesh/1.ply ... Making video at 1589181771.3278 fov: 53.13010235415598 WARNING: QXcbConnection: Failed to initialize XRandr WARNING: Could not initialize GLX Aborted (core dumped)