Update script.py
Browse files
script.py
CHANGED
@@ -3,10 +3,6 @@ import numpy as np
|
|
3 |
import pandas as pd
|
4 |
from PIL import Image
|
5 |
|
6 |
-
|
7 |
-
#df = pd.DataFrame([(f"testid{i:04}", v) for i, v in enumerate(predict)], columns=["id", "pred"])
|
8 |
-
#df.to_csv("submission.csv", index=None)
|
9 |
-
|
10 |
-
data = np.random.randint(0, 255, size=(900, 800, 3), dtype=np.uint8)
|
11 |
img = Image.fromarray(data, 'RGB')
|
12 |
img.save('patch.png')
|
|
|
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')
|