autonomousvision / sdfstudio

A Unified Framework for Surface Reconstruction
Apache License 2.0
1.99k stars 185 forks source link

Server connected, Render disconnected #31

Open AliKaramiFBK opened 1 year ago

AliKaramiFBK commented 1 year ago

Hi I want to visualize my model using viewer tool. accessing through the link provided belove the training part but the issues as you can see in the following pic, server is connected but render is disconnected what can be the issue so I can only see the image orientation and not the 3D model.

image

niujinshuchong commented 1 year ago

Hi, please refer to https://github.com/nerfstudio-project/nerfstudio/issues/765

yzslab commented 1 year ago

I met the same problem. When I open the viewer page, below Exception message are printed in the console: Untitled.png

yzslab commented 1 year ago

I met the same problem. When I open the viewer page, below Exception message are printed in the console: Untitled.png

pip install cryptography==2.8 can fix this Exception.

lexvandersluijs commented 1 year ago

Thanks yzslab. In my case it keeps saying "Render disconnected" but the image does appear, so the problem is >60% fixed with that.

AliKaramiFBK commented 1 year ago

I tried every suggestions from Here https://github.com/nerfstudio-project/nerfstudio/issues/765 as you suggested but still I have the same problem I can see the images and colored valume in the center as you can see from the pic any other possible solution ?

Ubuntu 20.04.5 LTS NVIDIA Corporation TU102 [GeForce RTX 2080 Ti] firefox

image

niujinshuchong commented 1 year ago

@AliKaramiFBK Do you still have the problem? Your images have black background, maybe you could use '--pipeline.model.background-color black'.

tlightsky commented 1 year ago

I meet same issue following README: image

Could be this issue

Exception in thread Thread-1276:
Traceback (most recent call last):
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "E:\source\py\sdfstudio\nerfstudio\viewer\server\viewer_utils.py", line 365, in loop_in_thread
    loop.run_until_complete(self.send_webrtc_answer(data))
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\asyncio\base_events.py", line 616, in run_until_complete
niujinshuchong commented 1 year ago

@tlightsky Maybe you could try

pip uninstall -y cryptography
pip install cryptography==38

Maybe also try to use https://viewer.nerf.studio to use the latest version.

tlightsky commented 1 year ago

@tlightsky Maybe you could try

pip uninstall -y cryptography
pip install cryptography==38

Maybe also try to use https://viewer.nerf.studio to use the latest version.

No luck

Viewer at: https://viewer.nerf.studio/versions/22-12-02-0/?websocket_url=ws://localhost:7007
Exception in thread Thread-100:
Traceback (most recent call last):
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "E:\source\py\sdfstudio\nerfstudio\viewer\server\viewer_utils.py", line 365, in loop_in_thread
    loop.run_until_complete(self.send_webrtc_answer(data))
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "E:\source\py\sdfstudio\nerfstudio\viewer\server\viewer_utils.py", line 551, in send_webrtc_answer
    await pc.setLocalDescription(answer)
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcpeerconnection.py", line 783, in setLocalDescription
    await self.__gather()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcpeerconnection.py", line 1023, in __gather    await asyncio.gather(*coros)
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcicetransport.py", line 201, in gather
    await self._connection.gather_candidates()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aioice\ice.py", line 417, in gather_candidates
    for candidates in await asyncio.gather(*coros):
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aioice\ice.py", line 887, in get_component_candidates
tlightsky commented 1 year ago

@tlightsky Maybe you could try

pip uninstall -y cryptography
pip install cryptography==38

Maybe also try to use https://viewer.nerf.studio to use the latest version.

No luck

Viewer at: https://viewer.nerf.studio/versions/22-12-02-0/?websocket_url=ws://localhost:7007
Exception in thread Thread-100:
Traceback (most recent call last):
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "E:\source\py\sdfstudio\nerfstudio\viewer\server\viewer_utils.py", line 365, in loop_in_thread
    loop.run_until_complete(self.send_webrtc_answer(data))
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "E:\source\py\sdfstudio\nerfstudio\viewer\server\viewer_utils.py", line 551, in send_webrtc_answer
    await pc.setLocalDescription(answer)
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcpeerconnection.py", line 783, in setLocalDescription
    await self.__gather()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcpeerconnection.py", line 1023, in __gather    await asyncio.gather(*coros)
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aiortc\rtcicetransport.py", line 201, in gather
    await self._connection.gather_candidates()
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aioice\ice.py", line 417, in gather_candidates
    for candidates in await asyncio.gather(*coros):
  File "E:\Users\wangc\miniconda3\envs\sdfstudio\lib\site-packages\aioice\ice.py", line 887, in get_component_candidates

Wait, seems Ok after 1k step image