Comments (5)
Thanks for your feedback. I have noticed this bug, and I will fix it soon.
If you don't mind, you can clone the source code to your local device and run:
python ./path/to/SkinToneClassifier/src/stone/__main__.py -i ...<other parameters>
I will let you know once I fix the bug.
Thanks!
from skintoneclassifier.
I tested the installation steps in some different sandboxes, but they did not pop up the error message.
According to your cmd message, the first line Defaulting to user installation because normal site-packages is not writeable
says SkinToneClassifier
cannot be installed in the default site-packages
. Instead, it was installed in c:\users\appdata\roaming\python\python39\site-packages
.
Well, it can cause the error that stone
cannot be found, because c:\users\appdata\roaming\python\python39\site-packages
may not be in the system PATH.
So, please do the following steps to fix it:
- Open
c:\users\appdata\roaming\python\python39\site-packages
and check if there is a file namedstone.exe
; - If so, please add
c:\users\appdata\roaming\python\python39\site-packages
to your system environment path;
You can refer to this link to add it: https://stackoverflow.com/a/69912527/8860079. Just change their path toc:\users\appdata\roaming\python\python39\site-packages
; - If there is no such file or you don't want to touch the environment variable, you can run
pip install...
command with administrative privileges.
Hope this can help you.
Thanks.
from skintoneclassifier.
Hey @ChenglongMa,
I have the same issue, i successfully installed it, but I still unable to use the "stone" command, anything i did wrong?
Requirement already satisfied: skin-tone-classifier in c:\users\stude\anaconda3\lib\site-packages (0.2.2)
Requirement already satisfied: opencv-python>=4.6.0.66 in c:\users\stude\anaconda3\lib\site-packages (from skin-tone-classifier) (4.8.0.74)
Requirement already satisfied: numpy>=1.21.5 in c:\users\stude\anaconda3\lib\site-packages (from skin-tone-classifier) (1.21.5)
Requirement already satisfied: colormath>=3.0.0 in c:\users\stude\anaconda3\lib\site-packages (from skin-tone-classifier) (3.0.0)
Requirement already satisfied: tqdm>=4.64.0 in c:\users\stude\anaconda3\lib\site-packages (from skin-tone-classifier) (4.64.1)
Requirement already satisfied: networkx>=2.0 in c:\users\stude\anaconda3\lib\site-packages (from colormath>=3.0.0->skin-tone-classifier) (2.8.4)
Requirement already satisfied: colorama in c:\users\stude\anaconda3\lib\site-packages (from tqdm>=4.64.0->skin-tone-classifier) (0.4.6)
appreciated for help
from skintoneclassifier.
Hi @XiaoWen1227,
Thanks for your feedback!
I repeated the installation step in a new environment but did not reproduce the same error.
According to the message, you seem to have installed the library in the base
environment of anaconda
.
Please do the following checks to verify the installation:
- Please ensure you entered the
base
environment before running thestone
command; - Please check whether there is a
stone.exe
file located inC:\Users\stude\anaconda3\Scripts
; - Please run the
stone
command inAnaconda Powershell Prompt
rather thanAnaconda Prompt
;
Please let me know if you have any updates after the above steps.
Thanks!
from skintoneclassifier.
With no more responses, close the issue for now.
We'll be happy to reopen the issue when more information is provided.
from skintoneclassifier.
Related Issues (10)
- Argument to disable face detection HOT 2
- 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
- AttributeError: module 'stone' has no attribute 'process' HOT 6
- Setting color palette throws TypeError: unhashable type: 'list' HOT 4
- Issue with processing .jpg images in folder using GUI HOT 7
- 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
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.