Giter Club home page Giter Club logo

Comments (3)

glenn-jocher avatar glenn-jocher commented on September 27, 2024 1

Hello,

This error typically occurs due to insufficient system memory or page file size, especially when loading large libraries like OpenCV in constrained environments.

You can try increasing the size of your system's page file:

  1. Go to Control Panel > System and Security > System > Advanced system settings.
  2. Under the Advanced tab, click on Settings in the Performance section.
  3. Go to the Advanced tab in the Performance Options window, click on Change under Virtual memory.
  4. Uncheck Automatically manage paging file size for all drives.
  5. Select Custom size and enter a larger initial and maximum size for your page file.
  6. Click Set, then OK and restart your computer.

Make sure your Python environment has enough memory allocated, and consider closing other memory-intensive applications while running your code.

If the problem persists even after increasing the page file size, please ensure that you have all the necessary system requirements and dependencies installed for OpenCV and PyTorch.

Hope this helps! Let us know how it goes.

from ultralytics.

smallMantou avatar smallMantou commented on September 27, 2024

ImportError: DLL load failed while importing cv2: 页面文件太小,无法完成操作。

from ultralytics.

github-actions avatar github-actions commented on September 27, 2024

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐

from ultralytics.

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.