Code Monkey home page Code Monkey logo

aiphoto's Issues

怎么得到trimap?

您好,我看教程u2net的文章中没有出现分割成trimap的教程,pymatting不是需要原图和trimap图嘛?

ModuleNotFoundError: No module named 'pymatting_aot.aot' 你好,怎解决这个问题啊,也是版本对的啊

Traceback (most recent call last):
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 36, in
import pymatting_aot.aot
ModuleNotFoundError: No module named 'pymatting_aot.aot'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:/BS/aiphoto-master/m_web/web.py", line 3, in
import m_web.upload as upload
File "D:\BS\aiphoto-master\m_web\upload.py", line 5, in
from to_background import to_background
File "D:\BS\aiphoto-master\to_background\to_background.py", line 1, in
from pymatting import *
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_init_.py", line 2, in
import pymatting_aot.cc
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 54, in
compile_modules()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\pymatting_aot\cc.py", line 8, in compile_modules
cc = CC("aot")
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\cc.py", line 65, in init
self._toolchain = Toolchain()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\platform.py", line 78, in init
self._raise_external_compiler_error()
File "D:\install_dir\Anaconda\Ana\envs\AIPhoto\lib\site-packages\numba\pycc\platform.py", line 121, in _raise_external_compiler_error
raise RuntimeError(msg)
RuntimeError: Attempted to compile AOT function without the compiler used by numpy.distutils present

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.