datur / nncompression Goto Github PK
View Code? Open in Web Editor NEWMasters Thesis Project https://davidturner94.github.com/nncompression
Masters Thesis Project https://davidturner94.github.com/nncompression
This issue has been automatically created by todo-actions based on a TODO comment found in rest_request.py:98. It will automatically be closed when the TODO comment is removed from the default branch (master).
getElementById can match elements by name instead of ID
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:781. It will automatically be closed when the TODO comment is removed from the default branch (master).
'''
im = transforms.ToPILImage()(images[0])
with BytesIO() as output:
im.save(output, 'JPEG')
data = output.getvalue()
url = "http://ml-inference.northeurope.cloudapp.azure.com:5000/inference"
payload = {
'files': (
'1.jpeg',
data,
'image/jpeg'
)
}
r = requests.post(url, files=payload)
r_json = r.json()
outputs = torch.tensor(
r_json['result']['prediction_raw']).unsqueeze(0)
outputs, labels = outputs.to(DEVICE), labels.to(DEVICE)
acc1, acc5 = accuracy(outputs, labels, topk=(1, 5))
top1.update(acc1[0], images.size(0))
top5.update(acc5[0], images.size(0))
batch_time.update(time.time() - end)
end = time.time()
if i % print_freq == 0:
progress.display(i)
This issue has been automatically created by todo-actions based on a TODO comment found in rest_request.py:101. It will automatically be closed when the TODO comment is removed from the default branch (master).
with direct calls to dataPriv methods, these can be deprecated.
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:4257. It will automatically be closed when the TODO comment is removed from the default branch (master).
getElementById can match elements by name instead of ID
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:767. It will automatically be closed when the TODO comment is removed from the default branch (master).
getElementById can match elements by name instead of ID
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:767. It will automatically be closed when the TODO comment is removed from the default branch (master).
with direct calls to dataPriv methods, these can be deprecated.
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:4257. It will automatically be closed when the TODO comment is removed from the default branch (master).
Adding model optimization and compression algorithms
getElementById can match elements by name instead of ID
This issue has been automatically created by todo-actions based on a TODO comment found in docs/build/html/_static/jquery-3.4.1.js:781. It will automatically be closed when the TODO comment is removed from the default branch (master).
Create a series of scripts for evaluating and visualizing each model
This issue has been automatically created by todo-actions based on a TODO comment found in rest_request.py:99. It will automatically be closed when the TODO comment is removed from the default branch (master).
This issue has been automatically created by todo-actions based on a TODO comment found in nncompression/models/pytorch/utils.py:211. It will automatically be closed when the TODO comment is removed from the default branch (master).
Creating models for evaluation
This issue has been automatically created by todo-actions based on a TODO comment found in rest_request.py:100. It will automatically be closed when the TODO comment is removed from the default branch (master).
This issue has been automatically created by todo-actions based on a TODO comment found in nncompression/convert/to_openvino.py:6. It will automatically be closed when the TODO comment is removed from the default branch (master).
Integrate model conversion from openvino library. This will probably end up calling the mo.py file from the openvino toolkit with the correct flags passed from a file or some other method
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.