Debug Python code to perform file conversion using Caffe
$30-250 USD
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 )
Numer ID Projektu: #8140575
O projekcie
Przyznany użytkownikowi:
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.