MarceloCC commited on
Commit
c8d27df
1 Parent(s): 493b597

Update script.py

Browse files
Files changed (1) hide show
  1. script.py +1 -5
script.py CHANGED
@@ -3,10 +3,6 @@ import numpy as np
3
  import pandas as pd
4
  from PIL import Image
5
 
6
- #predict = [1,2,3,4]
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')