Giter Site home page Giter Site logo

stark1tty / useful_scripts Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 126 KB

A small repo for sharing useful scripts and other shiny baubles. :)

Home Page: http://nikashilobod.com

Python 68.23% Jupyter Notebook 31.77%
plants data-management everyday python

useful_scripts's Introduction

Nika Shilobod

  • PhD Researcher
  • Research interests: Geoarchaeology, Palaeoecology, Geomatics, ML, SciComm
  • 🔗 Link Tree

💻Tech Stack

R Python Markdown LaTeX Adobe Illustrator Blender Docker Raspberry Pi


📌Projects

Awesome Lists

Fediverse

Mastodon

Lemmy Bot

Palynology

Plants

  • Plant-Image-Batch-ID - The Plant-Image-Batch-ID is a Python-based Jupyter Notebook designed for automated plant identification from a directory of images that utilizes the PlantNet API.

Sedimentology

Misc

  • Nest-Wrecker - Nest-Wrecker is a Python tool for simplifying tag management in markdown files. It transforms nested tags into individual tags, making them easier to manage in large Obsidian Vaults or similar note-taking systems.
  • academic-rss-wordcloud - A fun little script for visualising word frequency counts for academic journal RSS feeds; Python.
  • TimeSeries2Audio - A fun little R script to turn time series data into sound.
  • useful_scripts - A small collection of scripts to share, mostly in python.

                _
              _(_)_                          wWWWw   _
  @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
 @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
  @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
   /      Y       \|    \|/    /(_)    \|      |/      |
\ |     \ |/       | / \ | /  \|/       |/    \|      \|/
\\|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 

useful_scripts's People

Contributors

stark1tty avatar

Stargazers

 avatar  avatar

Watchers

 avatar

useful_scripts's Issues

Comment from Lemmy

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:

  • take a long time to train
  • Get as good result as your dataset allow on its own but not more

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)

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.