<commit_before># -*- coding: utf-8 -*-
import numpy as np
from PIL import Image
from pylab import *
import types
from skimage import io, data

# 读取图片,灰度化，并转为数组
im0 = Image.open("test.jpeg").convert('L')
im = array(im0)

# print(type(im[1, 1]))

x = y = 0
m = im.shape[0]
n = im.shape[1]
h = range(m - 2)
k = range(n - 2)
matrix = np.array([[255 for i in range(n)] for i in range(m)])
limit = 255

gray()

# 将图像处理成“点图”
for x in h[::2]:<commit_msg>A little chage of path.<commit_after># -*- coding: utf-8 -*-
import numpy as np
from PIL import Image
from pylab import *
import types
from skimage import io, data

# 读取图片,灰度化，并转为数组
im0 = Image.open("../data/img/girl.jpeg").convert('L')
im = array(im0)

# print(type(im[1, 1]))

x = y = 0
m = im.shape[0]
n = im.shape[1]
h = range(m - 2)
k = range(n - 2)
matrix = np.array([[255 for i in range(n)] for i in range(m)])
limit = 255

gray()

# 将图像处理成“点图”
for x in h[::2]:
{'fraction_non_alphanumeric': 0.1838074398249453, 'fraction_numerical': 0.037199124726477024, 'mean_word_length': 3.5979899497487438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3987232', 'n_tokens_mistral': 427, 'n_tokens_neox': 414, 'n_words': 121}