Code Monkey home page Code Monkey logo

Comments (7)

zhaoyuanyuan2011 avatar zhaoyuanyuan2011 commented on July 17, 2024 1

Thank you for the suggestions! I finally figured out that rendering over ssh can be finished using EGL.

from i2l-meshnet_release.

zqq-judy avatar zqq-judy commented on July 17, 2024 1

@mks0601 @zhaoyuanyuan2011

  1. When I run demo.py, an error occurs:

image

  1. I added this at the top of my script (demo.py):
    import os
    os.environ['PYOPENGL_PLATFORM']='egl'

But, I get mistakes, as follows:
image

I tried google to search for a solution, but it didn't solve it. Can I get some help from you?
The environment is ubuntu16.04 and python3.7. ( I don't have a GPU on my local machine.)
Thanks!

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on July 17, 2024

Could you try on your local machine, not using ssh? The renderer needs a display device.

from i2l-meshnet_release.

zhaoyuanyuan2011 avatar zhaoyuanyuan2011 commented on July 17, 2024

Could you try on your local machine, not using ssh? The renderer needs a display device.

Thank you for the quick reply! Since I don't have a GPU on my local machine, does that mean I cannot run this demo at all in this case?

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on July 17, 2024

I think you can switch off the rendering in the demo code? Or google how to use renderer in ssh?

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on July 17, 2024

Good for you!

from i2l-meshnet_release.

mks0601 avatar mks0601 commented on July 17, 2024

Are you running the code on ssh? The rendering requires some display device, so you'd better run the demo code on your local machine. Or you can disable the rendering part and run the code on ssh.

from i2l-meshnet_release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.