luizgh / kmeans_cuda Goto Github PK
View Code? Open in Web Editor NEWKmeans implementation in C++ / Cuda
Kmeans implementation in C++ / Cuda
Starting iteration 0:
done
Centroids:
5.0059995651245117 3.417999267578125 1.4640001058578491 0.24399995803833008
6.4493670463562012 2.9658224582672119 5.189873218536377 1.8126585483551025
5.5571427345275879 2.5190472602844238 3.8380954265594482 1.1619048118591309
test_kmeans_parallel: src/test_kmeans_parallel.cpp:48: void CompareTestResultsAgainstBaseline(float*, int): Assertion `error < maxError' failed.
Abortado (imagem do núcleo gravada)
2.875747680664062 92.172569274902344 92.821983337402344 93.67974853515625
gustavo@Gustavo-Linux:~/programming/eclipse_workspace/kmeans_cuda/bin$ ./run_kmeans_serial cifar 3
Centroids initialized with examples: 30 72 95
Starting iteration 1
Starting iteration 2
Starting iteration 3
Starting iteration 4
Starting iteration 5
Starting iteration 6
Starting iteration 7
Starting iteration 8
Starting iteration 9
Starting iteration 10
Starting iteration 11
Starting iteration 12
Starting iteration 13
Starting iteration 14
Starting iteration 15
Starting iteration 16
done
Centroids:
-nan -nan -nan -nan
92.875747680664062 92.172569274902344 92.821983337402344 93.67974853515625
179.93370056152344 179.2894287109375 180.41090393066406 180.83158874511719
Program is returning "out of memory", even though only 615MB are being allocated (in a board with 1GB of global memory)
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.