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 3737
3838
3939
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 )
4646
4747
4848
5151
5252cnn = MAGIST_CNN ("config.json" )
5353
54- # queue.put_queue(cnn, name="MAGIST_CNN_Trainer", priority=10)
54+ queue .put_queue (cnn , name = "MAGIST_CNN_Trainer" , priority = 10 )
5555
5656from MAGIST .Utils .WebScraper .wikipedia import WikipediaScraper
5757from MAGIST .NeuralDB .MongoUtils import AdminUtils
You can’t perform that action at this time.
0 commit comments