Git Product home page Git Product logo

Comments (10)

imatiach-msft avatar imatiach-msft commented on June 1, 2024 1

@darrenyu1111 I just did the new 0.14.4 release to pypi with the PR fix for you, does that fix your issue?

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

@darrenyu1111 can you try the latest version of interpret-community, 0.14.3? There should be a "public_ip" parameter on the Explanation Dashboard, which you can set as the DSVM address, and this should work - as well as what if analysis and ICE plots.

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

https://github.com/interpretml/interpret-community/blob/master/python/interpret_community/widget/explanation_dashboard.py#L72

from interpret-community.

darrenyu1111 avatar darrenyu1111 commented on June 1, 2024

@imatiach-msft
I updated it, and it does not navigate to VM IP address, and it is still using "http://localhost:5001" as a linkage for open new tab.
see the attached file.
pic2

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

@darrenyu1111 will take another look, thank you for finding the issue

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

@darrenyu1111 I was able to reproduce the issue and fix it in this PR: #309
I've merged the PR and will do a new release soon. Currently trying to get a couple more fixes in before doing the release.

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

@darrenyu1111 hmm strange, when clicking "open in new tab" on Azure DSVM it seemed to work for me. I wonder if there is something about how the VM was setup that is causing this issue. You only set public_ip parameter and nothing else, is that correct? I wonder if it might have something to do with the port configuration.

from interpret-community.

darrenyu1111 avatar darrenyu1111 commented on June 1, 2024

@imatiach-msft yes, it's working now. FW of VM causes the issue. thanks for your great effort.

from interpret-community.

imatiach-msft avatar imatiach-msft commented on June 1, 2024

@darrenyu1111 great to hear it is resolved, closing this github issue #308 tracking the problem

from interpret-community.

darrenyu1111 avatar darrenyu1111 commented on June 1, 2024

@imatiach-msft , when I run the scripts on another .ipynb in VM simultaneously, there is error message below,
could it support multiple .ipynb run?

Exception in thread Thread-35:
Traceback (most recent call last):
File "/opt/tljh/user/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/opt/tljh/user/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/interpret_community/widget/explanation_dashboard.py", line 176, in run
server.serve_forever()
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/baseserver.py", line 398, in serve_forever
self.start()
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/baseserver.py", line 336, in start
self.init_socket()
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/pywsgi.py", line 1500, in init_socket
StreamServer.init_socket(self)
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/server.py", line 180, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/server.py", line 192, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/home/jupyter-jupyteradmin/.local/lib/python3.7/site-packages/gevent/server.py", line 288, in _tcp_listener
sock.bind(address)
OSError: [Errno 98] Address already in use: ('10.0.2.5', 5000)

from interpret-community.

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.