Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jianghuchengphilip/Master-Art-Punk
/ functions
Functions
16 in github.com/Jianghuchengphilip/Master-Art-Punk
⨍
Functions
16
◇
Types & classes
3
↓ 3 callers
Method
_gen_timestamp
生成整数时间戳 :return:int timestamp
function/snowflake.py:64
↓ 2 callers
Method
get_id
获取新ID :return:
function/snowflake.py:71
↓ 1 callers
Method
_til_next_millis
等到下一毫秒
function/snowflake.py:96
↓ 1 callers
Method
box_method
(self,color_data, group_distance,colors_number)
colors.py:27
↓ 1 callers
Method
colour_distance
(self,rgb_1, rgb_2)
colors.py:76
↓ 1 callers
Method
generate
(self,image_data, name,number,color_distance_filepath,coloring_style,colors_number)
colors.py:116
↓ 1 callers
Method
get_all_colors_list
(self,model, k)
colors.py:41
↓ 1 callers
Method
get_color_data
(self,color_distance_filepath,colors_number)
colors.py:69
↓ 1 callers
Method
get_main_colors
(self,directory)
colors.py:51
↓ 1 callers
Method
merge
(self,sticker0, sticker1)
colors.py:92
↓ 1 callers
Method
merges
(self,stickers)
colors.py:108
↓ 1 callers
Method
random_colors
(self)
colors.py:85
↓ 1 callers
Method
rgb_to_hex
(self,rgb)
colors.py:34
↓ 1 callers
Function
training
(color_data_path)
model.py:14
Method
__init__
(self,k = 30,init_method = 'random',random_state = 88)
colors.py:22
Method
__init__
初始化 :param datacenter_id: 数据中心(机器区域)ID :param worker_id: 机器ID :param sequence: 其实序号
function/snowflake.py:44