MCPcopy Index your code
hub / github.com/Jianghuchengphilip/Master-Art-Punk

github.com/Jianghuchengphilip/Master-Art-Punk @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
19 symbols 75 edges 8 files 6 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Master-art-punk

Make your master artistic punk avatar through machine learning world famous paintings.
通过机器学习世界名画制作属于你的大师级艺术朋克头像
Nowadays, NFT is becoming popular in the world, and various trading platforms like opensea have developed rapidly, and cryptopunks have even sold tens of millions of dollars.
如今,NFT在世界上正流行起来,各种交易平台像opensea等,快速发展了起来,像cryptopunks甚至卖出了上千万美金。
This project will help you to know in general how these NFT pictures are made, and try to make your own NFT.

punk1 punk2

这个项目将有助于你大体知道这些NFT的图片是如何制作的,并尝试制作自己的NFT。
This project uses the K-Means algorithm to acquire and learn the color matching of world famous paintings in the data set, and imitate its color style to color the model.
本项目运用了K-Means算法对数据集中世界名画的色彩搭配进行获取和学习,并模仿其色彩风格给模型上色,展示如下:

NFT1 NFT4

使用说明:

1.安装要求:

1.更改settings.py参数路径

2.安装numpy和pypng:pip install numpy / pip install pypng

2.训练:

1.将setting.py改为train = True

2.python app.py

3.运行后,会输出对应模型路径./output/csv/XXXXXXXXXX.csv

3.生成

1.将setting.py改为train = False

2.将setting.py中color_model_path修改为对应路径

3.python app.py

4../output/中查看生成图像

Core symbols most depended-on inside this repo

_gen_timestamp
called by 3
function/snowflake.py
get_id
called by 2
function/snowflake.py
box_method
called by 1
colors.py
rgb_to_hex
called by 1
colors.py
get_all_colors_list
called by 1
colors.py
get_main_colors
called by 1
colors.py
get_color_data
called by 1
colors.py
colour_distance
called by 1
colors.py

Shape

Method 15
Class 3
Function 1

Languages

Python100%

Modules by API surface

colors.py12 symbols
function/snowflake.py5 symbols
model.py1 symbols
function/exceptions.py1 symbols

For agents

$ claude mcp add Master-Art-Punk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact