xthan / VITON

Code and dataset for paper "VITON: An Image-based Virtual Try-on Network"
534 stars 143 forks source link

May I have your all crawled data? including one product in different pose. #14

Closed donghaoye closed 6 years ago

xthan commented 6 years ago

I did not crawl other images.

xthan commented 6 years ago

However, I added the image url file: https://github.com/xthan/VITON/blob/master/data/women_top_images.txt

You can change the image id in the urls to get images of other views. For example:

for i in range(20): # assuming image ids are < 20
  url = 'https://mosaic01.ztat.net/vgs/media/pdp-zoom/ZX/02/9G/00/7Q/12/ZX029G007-Q12@%d.jpg' % i
  try:
    headers = { 'User-Agent' : 'Mozilla/5.0' }
    req = urllib2.Request(url, None, headers)
    image = urllib2.urlopen(url).read()
    with open(image_path, 'wb') as f:
      f.write(image)
  except:
     pass
donghaoye commented 6 years ago

Thank you very much!

abhiagwl4262 commented 4 years ago

@xthan Sorry to bother you but this link is not available.