Debug Python code to perform file conversion using Caffe

Ukończone Opublikowano Jul 25, 2015 Płatność przy odbiorze
Ukończone Płatność przy odbiorze

I am trying to implement a short bit of python code to convert binaryproto to npy described in this URL: [url removed, login to view]

[see sg90 commented on Nov 12, 2014]

the program takes a file [[url removed, login to view]] and converts it to a npy file [[url removed, login to view]]

but i cant get it to work.

When i run it, the code appears to execute but the [url removed, login to view] file does not appear.

a sample [url removed, login to view] file is attached.

Deliverables- debug the code so that it will do the conversion as described in the above URL.

the code is listed below [and in the URL page]:

import caffe

import numpy as np

import sys

if len([url removed, login to view]) != 3:

print "Usage: python [url removed, login to view] [url removed, login to view] [url removed, login to view]"

[url removed, login to view]()

blob = [url removed, login to view]()

data = open( [url removed, login to view][1] , 'rb' ).read()

[url removed, login to view](data)

arr = [url removed, login to view]( caffe.io.blobproto_to_array(blob) )

out = arr[0]

[url removed, login to view]( [url removed, login to view][2] , out )

Python

Numer ID Projektu: #8140575

O projekcie

3 ofert Zdalny projekt Aktywny Jul 25, 2015

Przyznany użytkownikowi:

lis82

hello, we are work together on previous caffe projects and i can help with that. As i can see, you trying to make the script work, but no luck. I can make it work. Thanks.

$35 USD w ciągu 0 dni
(2 ocen)
2.3

3 freelancerów złożyło ofertę za $98 w tym projekcie

privatecaptain

Is it done or are you still looking?

$111 USD w ciągu 1 dnia
(1 Ocena)
1.4
aminbros

A proposal has not yet been provided

$147 USD w ciągu 3 dni
(1 Ocena)
1.0