ArturoDeza
commited on
Commit
•
5251140
1
Parent(s):
6f6864c
Update script.py
Browse files
script.py
CHANGED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import pickle
|
2 |
+
import numpy as np
|
3 |
+
import pandas as pd
|
4 |
+
from PIL import Image
|
5 |
+
|
6 |
+
data = np.random.randint(0, 255, size=(300, 300, 3), dtype=np.uint8)
|
7 |
+
img = Image.fromarray(data, 'RGB')
|
8 |
+
#img.save('patch.png')
|