Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(ai): first implementation of the PaletteNet algorithm managed from image-go-nord package #162

Merged
merged 22 commits into from
May 27, 2024

Conversation

TheJoin95
Copy link
Member

@TheJoin95 TheJoin95 commented May 23, 2024

Pull Request

Closes #157

Description

This is the first implementation of the AI model PaletteNet available from the image-go-nord package.
It's accepting a palette of 6 colors and it's then converting it using the model made in pytorch.

A second phase would convert the pytorch model into javascript model in order to be executed on the client side.
It will be discovered in a different issue.

Documentation will be updated in a follow-up ticket (#163 )

image

image

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • tested locally

It needs to be tested on prod, as we need to update and get the code on our VPS.

Test Configuration:

  • Firmware version: any
  • Hardware: any
  • Toolchain: Python, Vue
  • IGN Version: 1.1.0

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@TheJoin95 TheJoin95 requested a review from Wabri as a code owner May 23, 2024 21:37
@TheJoin95
Copy link
Member Author

This pr has done a long journey but I'm happy to make it online

Copy link
Member

@Wabri Wabri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little changes and I'm in your hands for the css staff. Huge work!

src/ign-api/conversion.py Outdated Show resolved Hide resolved
src/ign-api/conversion.py Outdated Show resolved Hide resolved
src/ign-api/conversion.py Show resolved Hide resolved
src/ign-frontend/src/components/Demo.vue Outdated Show resolved Hide resolved
@TheJoin95 TheJoin95 force-pushed the feat/ai-conversion-step0 branch from 5c9c723 to 6794872 Compare May 27, 2024 15:50
@TheJoin95 TheJoin95 requested a review from Wabri May 27, 2024 15:52
@Wabri Wabri merged commit e1033e3 into master May 27, 2024
5 checks passed
@Wabri Wabri deleted the feat/ai-conversion-step0 branch May 27, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create the imagIA section
2 participants