File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 37
37
38
38
39
39
40
- # for l in labels:
41
- # path = os.path.join("Data", l)
42
- # slicer.image_integrity_verification(path, delete_invalid=True)
43
- # slicer.resizer((500, 500), path)
44
- # coordinates = slicer.coordinate_compute((500, 500), (100, 100))
45
- # slicer.crop_segments(coordinates, path, "Sliced", l)
40
+ for l in labels :
41
+ path = os .path .join ("Data" , l )
42
+ slicer .image_integrity_verification (path , delete_invalid = True )
43
+ slicer .resizer ((500 , 500 ), path )
44
+ coordinates = slicer .coordinate_compute ((500 , 500 ), (100 , 100 ))
45
+ slicer .crop_segments (coordinates , path , "Sliced" , l )
46
46
47
47
48
48
51
51
52
52
cnn = MAGIST_CNN ("config.json" )
53
53
54
- # queue.put_queue(cnn, name="MAGIST_CNN_Trainer", priority=10)
54
+ queue .put_queue (cnn , name = "MAGIST_CNN_Trainer" , priority = 10 )
55
55
56
56
from MAGIST .Utils .WebScraper .wikipedia import WikipediaScraper
57
57
from MAGIST .NeuralDB .MongoUtils import AdminUtils
You can’t perform that action at this time.
0 commit comments