Compiler Warnings beseitigt, gitignore beigefügt und readme geschrieben
This commit is contained in:
1 parent
79402be355
commit
b8aeba7b87
4 files changed
+76
-5
No files matched your search
+61
@@ -0,0 +1,61 @@
|
||||
# ---> C
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
# Object files
|
||||
*.o
|
||||
*.ko
|
||||
*.obj
|
||||
*.elf
|
||||
|
||||
# Linker output
|
||||
*.ilk
|
||||
*.map
|
||||
*.exp
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Libraries
|
||||
*.lib
|
||||
*.la
|
||||
*.lo
|
||||
|
||||
# Shared objects (inc. Windows DLLs)
|
||||
*.dll
|
||||
*.so
|
||||
*.so.*
|
||||
*.dylib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
Startcode/mnist
|
||||
Startcode/runTests
|
||||
|
||||
# Debug files
|
||||
*.dSYM/
|
||||
*.su
|
||||
*.idb
|
||||
*.pdb
|
||||
|
||||
# Kernel Module Compile Results
|
||||
*.mod*
|
||||
*.cmd
|
||||
.tmp_versions/
|
||||
modules.order
|
||||
Module.symvers
|
||||
Mkfile.old
|
||||
dkms.conf
|
||||
|
||||
# IDE folders
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
+1
-1
@@ -57,7 +57,7 @@ static int readLabel(FILE *file, unsigned char* label) {
|
||||
|
||||
if (fread(label, sizeof(unsigned char), 1, file) != 1) {
|
||||
return 0;
|
||||
}
|
||||
} else return -1;
|
||||
}
|
||||
|
||||
// TODO Vervollständigen Sie die Funktion readImages unter Benutzung Ihrer Hilfsfunktionen
|
||||
|
||||
@@ -17,10 +17,6 @@ typedef struct
|
||||
unsigned int count;
|
||||
} GrayScaleImageSeries;
|
||||
|
||||
int readHeader(FILE *file);
|
||||
int readDimensions(FILE *file, unsigned int *count, unsigned int *width, unsigned int *height);
|
||||
int readImage(FILE *file, GrayScaleImage *image);
|
||||
int readLabel(FILE *file, unsigned char* label);
|
||||
GrayScaleImageSeries *readImages(const char *path);
|
||||
void clearSeries(GrayScaleImageSeries *series);
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# N(euro)nale Netze
|
||||
|
||||
Das Program kann Zahlen erkennen aus Bildern mit Hilfe von (bereits trainierten) Neuronalen Netzwerken.
|
||||
|
||||
## Kompilieren
|
||||
|
||||
1. Repo clonen
|
||||
2. `make mnist`
|
||||
3. Das Program ausführen
|
||||
|
||||
## Das Program ausführen
|
||||
|
||||
Terminal im Ordner öffnen und dann einfach `./mnist.exe mnist_test.info2 mnist_model.info2`
|
||||
Navigieren geht mit den Pfeil-Tasten.
|
||||
Reference in new issue
Block a user