Closed

Extracting information from JSON file using python

I have a very large dataset (JSON files) which consists of images, questions, and answers.

I want to select the images and questions which have single word answers.

I want the result form V2.0 VQA dataset, You can enter this website to have a clear idea about the dataset:

[login to view URL]

I have use the codes here (VQA API) to get data from the dataset:

[login to view URL]

You have to download questions and answers from the following link: (Very large files I cannot attach them)

[login to view URL]

I want Balanced Real Images

VQA Annotations: v2.0 for both train and val

VQA Input Questions: v2.0 for both train and val

I have this idea but I could not apply it:

In order to retrieve the list of all question ids that have single word answer, you need to check for the length of the most common answer (denoted by the key "multiple_choice_answer") for each question.

So essentially you need to add the following line --

anns = anns if len(ansLengths) == 0 else [ann for ann in anns if len(ann['multiple_choice_answer'].split()) in ansLengths]

where ansLengths is expected to be a list of numbers specifying the desired lengths.

The line is needed to be added in the API:

[login to view URL]

Alternatively, you could skip using the API; just download the data and loop through all the question ids and count those whose "multiple_choice_answer"'s are one word in length.

Thanks

Skills: Python, JSON, Coding

See more: read csv file using python script, extracting pdf data xml file using vbnet, extracting information website using regular expression php, extracting data webpages using python, extracting frame flv file using net, extracting amplitude information wav file, extracting data html file perl python, incorrect information file using mysql administrator wamp, modify csv file using python, modifying csv file using python, extracting data web pages using python, extracting information html python, convert text file csv using python, markers google map json file using javascript, insert information pdf file allow download using php, conversion plist pdf file using python, export database information excel file using perl php, using python parse file

About the Employer:
( 13 reviews ) Manchester, Saudi Arabia

Project ID: #23541995

18 freelancers are bidding on average $10/hour for this job

apextechnomatics

I have over 7+ years of experience along with in-depth technical knowledge on Python, Flask, Node.js, JavaScript, PostgreSQL Administration, Django, MySQL, MongoDB, XML-RPC services, stores, ERP/CRM portals and impleme More

$11 USD / hour
(7 Reviews)
5.2
IshaqKN

Hi there, You called me to bid, so cool. Yes I'll do your job. Will write such script. But I am going out for a break, will come back and review your input data files. Best regards, Ishaq

$5 USD / hour
(45 Reviews)
4.9
ibrahimanjum330

Hi, I am Ibrahim and I am a data scientist, I can help you from JSON file, can I see it? Regards, Ibrahim Anjum

$10 USD / hour
(27 Reviews)
5.2
safdar968

Hy, I can effectively extract information about the length of the answer and other requirements using Python. I am an experienced Python programmer with 4 years of experience. Currently, I am working as a Machine Learn More

$8 USD / hour
(14 Reviews)
4.5
omaralieissa

Hi, i'm a professional Web Automation Developer, and i have great experience with python and json, i think i can help you with this project, please let me know if you are interested, thanks.

$20 USD / hour
(11 Reviews)
4.6
WIFTCAP

Hi, nice to e-meet you. We have a team of experience Python, Django developers. We have developed a sophisticated trading platform ([login to view URL]) using Python, Django, PostGreSQL. We have 50+ years of cumulative exper More

$8 USD / hour
(20 Reviews)
4.9
manal3795

Hey, I have gone through the requirement. I am an Expert in Python Developer with Experience in Framework like Django, Flask, PyQt, Selenium, etc and I am very much familiar with Machine Learning, NLP, IoT, and OpenCV. More

$2 USD / hour
(4 Reviews)
4.5
Gulraj

Hi Sir, I hope you are doing good. I have round about 10 years of development experience and can deliver your project. Please reach out for further discussion. Regards Muhammad Gulraj

$8 USD / hour
(3 Reviews)
4.1
AleksandarDikic

Hello. I have some experiences for similar projects with yours. I have rich experiences as a Python developer for 12 years. I have developed 250+ projects based Python, Machine learning and 7 of them are used for huge More

$50 USD / hour
(5 Reviews)
2.5
dataspro

Hello!! We are DSPro, a software development agency specialized in providing services and products to companies, through cutting edge technologies such as Cognitive Computing, Backend systems, Data Pipelines, M More

$14 USD / hour
(1 Review)
2.4
sysseccon

Hello, Python and Django expert here! My Expertise in both Front-end & backend which contains Python, PHP, Codeigniter, Laravel, MVC, REST API, HTML/CSS/JAVASCRIPT, Angular Js, React, Wordpress, Woocommerce/Ecommerce More

$6 USD / hour
(1 Review)
1.1
pranayaark

Dear Sir / Madam, I gone through your requirement and I found I can work on your project. I am very much interested to work with you. Let me explain that we are a team of 10+ Developers & Designer with an experience of More

$6 USD / hour
(3 Reviews)
0.5
akshay20tyagi

Hi, I am a python developer and I have experience in writing such scripts. I can write a python script that can extract the data from json.

$6 USD / hour
(0 Reviews)
0.0
$5 USD / hour
(0 Reviews)
0.0
webtheorems

Greetings, I am Paul (Full-stack developer). I understand your requirements and 100% confident to deliver it. If not satisfied, you will get a full refund. -I am ready for a technical interview -Available as per your More

$5 USD / hour
(0 Reviews)
0.0
Fingertipinfo

We have good expertise over different Python Framework i.e. Django and Pyhton Library like Panda, Matplotlib, Numpy, Pyglet, Pygame…Etc. We are a prominent AI/ Image processing and App Development company with experien More

$8 USD / hour
(0 Reviews)
0.0
vovapolyushko085

Good Day. I am full-stack developer. I have rich experiences in machine learning with tensorflow, AI, image processing ,OpenCV, Selenium web driver and google apis and extensions. I have many experiences in programmi More

$5 USD / hour
(0 Reviews)
0.0
workspaceit

Hello there, This is Tahsinul Alam, CEO of Workspace InfoTech Limited. We have dedicated team who can handle your project easily and [login to view URL] have 52 engineers in 14 teams who are serving the world wide client in d More

$5 USD / hour
(0 Reviews)
0.0