stark1tty / useful_scripts Goto Github PK
View Code? Open in Web Editor NEWA small repo for sharing useful scripts and other shiny baubles. :)
Home Page: http://nikashilobod.com
A small repo for sharing useful scripts and other shiny baubles. :)
Home Page: http://nikashilobod.com
Lemmy is a bad place to write comments, so I'll do it here instead. You can delete it entirely later.
So I have a small comments on the model. You are using a classic network, almost as simple as it gets to do classification:
# Define the model architecture
model = keras.Sequential([
keras.layers.Conv2D(32, kernel_size=(3, 3), activation="relu", input_shape=(img_height, img_width, 1)),
keras.layers.MaxPooling2D(pool_size=(2, 2)),
keras.layers.Flatten(),
keras.layers.Dense(num_classes) # remove the softmax activation here
])
It's really good as a baseline but you will probably:
One thing you can use is transfer learning. The classic network used AFAIK for classification is RESNET. If you take this network are train only the last layers you might have better results and shorter training time because you are leveraging the prior knowledge of the pre-trained network.
If you need a paper, I would really consider looking at contrastive learning methods :).
Looking at your method I think my question if I was reviewing it would be more on how you get the labels for the data and how good your labelling is. is it perfect? Is it mostly good? Is it 50% good? If you are not perfect and you have quite some wrong label, then you have one more incentive to use contrastive learning since it is more robust to noise in the label (I can send you the paper on this monday if you want)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.