jackalcooper

jackalcooper

Sometimes it is kind of frustrating to use mostly python based tools to create dataset. You got so many cores on machines for deep learning and it takes forever to create dataset if you can’t leverage them. For instance I have been running this dataset creation task for more than a day and it only utilize 400% cpu while there are 24 metal cpus on the server.

Showing Posts 1 to 7

mythicalprogrammer

mythicalprogrammer

Sometimes it is kind of frustrating to use mostly python based tools to create dataset. You got so many cores on machines for deep learning and it takes forever to create dataset if you can’t leverage them.

I have no idea what this create dataset means at all. This is coming from a statistician/programmer that does sampling, collecting, cleaning, modeling, and web scraping.

kokolegorille

kokolegorille

More or less, You feed your neural network to produce a dataset.

Here are some open datasets

Laymer

Laymer

Hi :slight_smile:

I am also really interested in any answer regarding this topic. I have personally never done data collection on a large scale using Erlang, but I will have to in a near future. So if any experts out there are willing to share their experience it would be much appreciated :slight_smile:

Regarding your example, if I understand well you have a server rack with 24 processors, and I will assume they are 6-core/12-thread each if you have recent Xeon hardware. So 24 * 2 * 6 = 288 means that with my assumption you have 288 available logical cores for your task (The exact number does not actually matter).

So the maximum number of parallel processes that you could efficiently leverage is 288, while 400% usage seems to point there is only 4 of them. I have no experience whatsoever with ML nor dataset processing, but whatever task you are doing if you see unused CPU cores it might be an indicator of non-concurrent parts in your program. I would suggest trying to see if your data collection job allows for at least N concurrent processes to run simultaneously, where N = (physical CPU cores) x 2.

Normally you can always reach full CPU load if the Erlang VM is allowed to run on all the cores of your machine.

Hope this helps,

Igor

mythicalprogrammer

mythicalprogrammer

More or less, You feed your neural network to produce a dataset.

Oh.. it that GAN thing?

kokolegorille

kokolegorille

I don’t think so, GAN is putting 2 neural networks working adversary…

One generates data, the other trying to detect if data is fake. It ends when neural checking network can not differentiate between generated data and real data.

BTW there is this very impressive video about GAN…

mythicalprogrammer

mythicalprogrammer

Ah okay. I was thinking that one of the NN in GAN generate data to trick the other one but that’s only the train part it’s not necessarily for generating data for the sake of it.

Do you know what architecture of NN is the data generating one?

kokolegorille

kokolegorille

I am sorry but I don’t know…

I have been interested in DL since Google Alpha(Go, Master, Zero) was able to defeat top human players at the game of Go, and top dedicated computer programs at the game of Chess.

I have been using Python recently to see what could be done.

Most of Python libraries for DL are wrapper around C/C++, so I think it could be doable in Elixir too.

There is also tensorflex :slight_smile:

https://github.com/anshuman23/tensorflex

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
_mfierro
Hello, I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
nseaSeb
AcmeScript — Writing JS hooks as if I were still using Elixir I’ve been having fun building a little something over the last few days: Ac...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews