Someone Explained Code Detail Give Resource Learn Topic Q37209018

Can someone explained this code in detail and give me someresource to learn this topic?

In [291: path C: /Users/Andy/Desktop/HW1/SIGN dirs-os.listdir(path) s i ze = 256 | train _ C; /Users/Andy/Desktop/j 犐科學/HW

In [291: path “C: /Users/Andy/Desktop/HW1/SIGN” dirs-os.listdir(path) s i ze = 256 | train _ “C; /Users/Andy/Desktop/j 犐科學/HWI/SIRUtra in” if not os.path.exists(train os.mkdir(train) img_filenameIMG_(0:d) (1:04d) idx = 0 for filename in dirs: if filename[0]or .ipynb in filename or ‘train’ in filename for second filename in os.listdir(os.path.join(path, filename)) cont inue if second_filenamerain’ cont inue full-filename = os.path.join(path, filename , second-filename) image Image.open(full filename) imageimage.resize((size, size), Image.BILINEAR) image image.rotate (270)

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.