Comments (3)
From a quick look, I think this exception is getting thrown by the HeyRed.Mime package we use to help identify what image format we are classifying. ML.NET doesn't support the increasingly popular .webp image format, so to support it in NsfwSpy we convert that to a .png:
var fileType = MimeGuesser.GuessFileType(imageData);
if (fileType.Extension == "webp")
{
using (MagickImage image = new MagickImage(imageData))
{
imageData = image.ToByteArray(MagickFormat.Png);
}
}
I've just tried using this on a fresh Ubuntu virtual machine and see the same error message as you so I've just created an issue on their GitHub page to ask for clarification on whether an extra dependency is needed for Linux installs:
hey-red/Mime#44
Will update you when I hear back.
from nsfwspy.net.
This issue should now be resolved in NsfwSpy v3.4.3.
@Krutonium are you happy to test the issue is now resolved for you when using the new version please?
from nsfwspy.net.
Will do when I'm at my PC 👍
from nsfwspy.net.
Related Issues (17)
- Dataset HOT 1
- new NsfwSpy() cause program to abort with no error message or exception HOT 28
- NsfwSpy.App Incompatibility with Node.js v18.6.0+ / v16.17.0+ HOT 2
- Console application automatically crashes while classifying the image HOT 5
- Classify multiple images , best way to remove lamda? HOT 3
- DI Scope in Web APIs HOT 2
- Have any plan about implement python version support? HOT 1
- Predict Take a long time HOT 9
- It is working great but classification of sexy images is poor. How can I improve? HOT 1
- Training HOT 7
- Net Framework 4.6.2 HOT 1
- ClassifyVideo does not work and other issues HOT 3
- what type of this project model?
- Incorrect nsfw detection HOT 6
- Hentai when all labels are 0 HOT 4
- Image classification fails on M1 chip Macs HOT 9
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 nsfwspy.net.