Open nahidalam opened 1 year ago
I have the same issue using a remote notebook.
issue #1127 suggest to comment the line :
os.environ["WERKZEUG_RUN_MAIN"] = "true" # hides starting message
in your /home/ec2-user/anaconda3/envs/pytorch_p39/lib/python3.9/site-packages/captum/insights/attr_vis/server.py
This modification worked well on my side.
🐛 Bug
When I run captum insight
python -m captum.insights.example
I get below errorTo Reproduce
Steps to reproduce the behavior:
Run
! python -m captum.insights.example
in colab/sagemakerat colab
At AWS SageMaker