Giter VIP home page Giter VIP logo

conr_dataset's Introduction

Hi 🤪! This is P2Oileen

Google Scholar | ZhiHu | Email

👋 Introduction: Hi, I'm a AI researcher at Stepfun and Megvii Research before, majoring in Computer Science.
嗨!你好,我是阶跃星辰的大模型算法研究员,曾经是旷视研究院的研究员,我的专业是计算机科学。
🤝 Collaboration: I lead a group of AI researchers called NoodlesAI, where we share and exchange ideas.
我组织着一个名为NoodlesAI的研究者交流团体。
🏅 Accomplishments: I have won 🥈*2 from ICPC-Regional and 🥈*1 from CCPC-Regional, as an algorithm contest player (OIer/ACMer).
我曾经是一个算法竞赛选手,并获得过ICPC🥈*2,CCPC🥈*1
📚 Publications: Check out my publications on Google Scholar!
请访问我的谷歌学术页面,来查看我的所有文章!

conr_dataset's People

Contributors

hzwer avatar p2oileen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

conr_dataset's Issues

Error when i tried to download image

Hi, first of all, thank you for providing the dataset. When I composed the URL of the image, I found that if the image name contains a semicolon ';', the download will fail.

Here is my code:

import os,sys
import numpy as np
import cv2
import wget
   
input_dir = "../CoNR_Dataset_annotation_only/annotation"
output_dir = "../CoNR_Dataset_Image_only/image"
ann_file_lists = os.listdir(input_dir)
prefix = "https://cdn.donmai.us/original/"

for name in ann_file_lists:
    image_name = name.split('.')[0] + "." + name.split('.')[1]

    first = image_name[:2]
    second = image_name[2:4]
    image_url = prefix + first + "/" + second + "/" + image_name
    output_path = output_dir + "/" + image_name

    wget.download(image_url,out=output_path)

For Example:
image_name = a09c7da0ee69f15825f88ec26c928eb0;00000115.jpg
image_url = https://cdn.donmai.us/original/a0/9c/a09c7da0ee69f15825f88ec26c928eb0;00000115.jpg
output_path = ../CoNR_Dataset_Image_only/image/a09c7da0ee69f15825f88ec26c928eb0;00000115.jpg

Error information:

urllib.error.HTTPError: HTTP Error 404: Not Found

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.