This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Traceback (most recent call last): | |
| File "./run.py", line 38, in <module> | |
| main(sys.argv[1:]) | |
| File "./run.py", line 33, in main | |
| rnn.rnn.run() | |
| File "/home/samurai/Smiles/smiles-neural-network/rnn/rnn.py", line 569, in run | |
| epochsDone = train(model, trainIn, trainLabel, (testIn, testLabel)) | |
| File "/home/samurai/Smiles/smiles-neural-network/rnn/rnn.py", line 108, in train | |
| validation_data = (validation[0], formattedValid)) | |
| File "/home/samurai/.local/lib/python2.7/site-packages/keras/models.py", line 413, in fit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cílem práce je naprogramovat ftp server. Server bude konfigurovatelný pomocí souboru. Konfigurovat půjde rozhraní, kde server naslouchá, kořeny FTP serveru, generovaný log přenosů a databáze uživatelů a jejich hesel. Server bude umožňovat vytvoření virtuálního filesystému. Virtuálním filesystémem se rozumí souborový systém, na který bude přistupovat ftp client a který se bude mapovat na nějaké adresáře/soubory na disku. Tzn. clientův adresářový strom bude vypadat následovně: /home/user1 mapuje na /mnt/x/home/user1 /www mapuje na /var/cache/www /home/user_list.txt mapuje na /var/ftpclient/user_list.txt Přihlášený uživatel tedy uvidí adresáře /home/user1 a /www a soubory /home/user_list.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define EPS 1e-6 | |
| lat_h = floor(lat); | |
| lat_m = floor(60.0 * (lat - lat_h)); | |
| lat_s = 3600.0 * ((lat - lat_h) - (lat_m / 60.0)); | |
| if (fabs(lat_s - 60) < EPS) { | |
| lat_s = 0; | |
| lat_m++; | |
| } |
NewerOlder