Comments (6)
Hi @ergo70,
I'm glad your problem was solved.
Have a nice day :)
from skintoneclassifier.
Hi @ergo70,
Thanks for your feedback.
I tried on my side and in a Google Colab session, but it works well.
Can you give me more details to reproduce this problem?
You can also check the Colab example here: Google Colab. It is a running example, so that you can see more intuitively how to use this library.
Thanks!
from skintoneclassifier.
I tried with your minimal example:
pip uninstall skin-tone-classifier
pip install skin-tone-classifier
skin-tone-classifier Version is 1.1.2
import stone
image_path = "https://raw.githubusercontent.com/ChenglongMa/SkinToneClassifier/main/docs/demo.png" # Use the demo.png stored in my repo
result = stone.process(image_path, image_type="color", return_report_image=False)
Traceback (most recent call last):
File "c:\Devel\SkinToneAPI\stonetest.py", line 5, in
result = stone.process(image_path, image_type="color", return_report_image=True)
AttributeError: module 'stone' has no attribute 'process'
Maybe because I try it on Windows 11?
from skintoneclassifier.
I now tried it on WSL2 Ubuntu 22.04.3 LTS / Python 3.10.12 and it works without problems.
As said, the stone.exe Script also works on Windows. The error occurs only when I try the library in code.
from skintoneclassifier.
Hi @ergo70,
Are you using Anaconda, Miniconda, or pure Python?
I have no Win 11 devices, but I will try creating another sandbox environment to reproduce the problem.
BTW, are there other folders or modules in your project named stone
?
Thanks!
from skintoneclassifier.
Obviously, I had a stone.py leftover from earlier tests. Now it works... ;-\
Sorry for tripping over this.
from skintoneclassifier.
Related Issues (10)
- Argument to disable face detection HOT 2
- Not able to use stone command HOT 5
- Error processing image HOT 2
- Images using the black and white flag without specifying bw HOT 7
- Skin Tone Classifier Execution in Google Colab" HOT 3
- using stone in my code HOT 13
- Can I use this project to achieve the color consistency of face skin and other parts of the skin after AI face change? HOT 3
- Setting color palette throws TypeError: unhashable type: 'list' HOT 4
- Issue with processing .jpg images in folder using GUI HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skintoneclassifier.