Giter VIP home page Giter VIP logo

Comments (9)

yechaoying avatar yechaoying commented on June 13, 2024

I uninstalled mmcv==2.1.0 and installed mmcv==2.0.0 as the AssertionError said. But after "import mmselfsup", there are"UserWarning: Cannot import torch.fx, merge_dict is a simple function to merge multiple dicts".

from mmocr.

d9j avatar d9j commented on June 13, 2024

this project appears to be not maintained well.. it requires deprecated python 3.8 which been dropped even by anaconda.

from mmocr.

DeShinHwa avatar DeShinHwa commented on June 13, 2024

Hi, did u solve it ?

from mmocr.

zhouzaida avatar zhouzaida commented on June 13, 2024

Hi, you could try to uninstall mmcv and install mmcv==2.0.0 via mim install mmcv==2.0.0.

from mmocr.

MiXaiLL76 avatar MiXaiLL76 commented on June 13, 2024

MiXaiLL76@922bc32

Do something like this

@zhouzaida
When will there be an update with the latest dependencies?
Maybe it's worth going with the correct format and specifying dependencies in the installation files?

But it turns out that they are right in init.py, which doesn’t look very good

from mmocr.

Yoanes-Yeo avatar Yoanes-Yeo commented on June 13, 2024

I've tried everything that i can, I still having the issue same like this... ' ERROR: Failed building wheel for mmcv
Running setup.py clean for mmcv
Failed to build mmcv
ERROR: Could not build wheels for mmcv, which is required to install pyproject.toml-based projects'

from mmocr.

DeShinHwa avatar DeShinHwa commented on June 13, 2024

I've tried everything that i can, I still having the issue same like this... ' ERROR: Failed building wheel for mmcv Running setup.py clean for mmcv Failed to build mmcv ERROR: Could not build wheels for mmcv, which is required to install pyproject.toml-based projects'

If your pytorch version is 2.1.0, cuda 12.1. U can use this code below to install the specify version of the mmcv. It works for me.
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html

from mmocr.

MiXaiLL76 avatar MiXaiLL76 commented on June 13, 2024

fixed with #2023

install from git

from mmocr.

drzraf avatar drzraf commented on June 13, 2024

see also #2041

from mmocr.

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.