Git Product home page Git Product logo

Comments (5)

FrancescoSaverioZuppichini avatar FrancescoSaverioZuppichini commented on September 12, 2024 4

Weird, I've tried on collab - maybe a lucky run? Glad the issue was just from my side. I've retried and it runs smoothly, thanks for the great work ❤️

Other colleagues have confirmed to me the notebook is running perfectly 🚀

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024 1

Hi, please ensure that the MaskCut demo notebook is located within the CutLER/maskcut/ directory. The colormap is imported from maskcut/colormap.py. Based on your error message, it seems like the colormap was imported from "/usr/local/lib/python3.8/dist-packages/colormap/init.py", which is wrong. You may need to uninstall the colormap package you installed first or follow our installation instructions to build a new conda environment.

Best,
XD

from cutler.

frank-xwang avatar frank-xwang commented on September 12, 2024

Hi Fra,

I appreciate your interest in our work. I wanted to follow up on your issue with running the MaskCut demo. I just directly tested the demo on CoLab, and it seems to be working fine. Are you currently running the demo notebook on your local machine? If so, please ensure that the MaskCut demo notebook is located within the CutLER/maskcut/ directory. The colormap is imported from maskcut/colormap.py. You may need to uninstall the colormap package you installed first.

Please let me know if this resolves the issue you were experiencing.

Best,
Xudong

from cutler.

YugangDuan avatar YugangDuan commented on September 12, 2024

Running the notebook results in missing module colormap, installing it resulting in missing module easydev, after installing it I got ImportError: cannot import name 'random_color' from 'colormap' (/usr/local/lib/python3.8/dist-packages/colormap/__init__.py)

I am wondering how you run it, looking at the torch version it looks like you may have run it some months ago.

Thank you for the help

Cheers,

Fra

same problem, It can work on colab, but not work on service

from cutler.

YugangDuan avatar YugangDuan commented on September 12, 2024

You are correct, it imported the wrong colormap.py, I have solved the problem.

Thank you!

from cutler.

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.