X-ray-classification
X-ray-classification copied to clipboard
When running get_data.py file ?
Running get_data.py file doesn't work. After running the file it just creates an empty folder . I just only change the loop range from range(0,75) to range(0,1) due to internet issues.
In python2.7, instead of 'urllib.request.urlretrieve(domain+img, path+str(img_no)+".png")', you should change to 'urllib.urlretrieve(domain+img, path+str(img_no)+".png")'. I success.
我这个错误怎么改啊
line 81 script = tree.xpath('//script[@language="javascript"]/text()')[0]
error: File "get_data.py", line 81, in main script = tree.xpath('//script[@language="javascript"]/text()')[0] IndexError: list index out of range
@rahulmeena97 line 81 script = tree.xpath('//script[@language="javascript"]/text()')[0] error: File "get_data.py", line 81, in main script = tree.xpath('//script[@language="javascript"]/text()')[0] IndexError: list index out of range Any updates i'm getting the same prblm