Skip to content

Instantly share code, notes, and snippets.

View Muhammad-Yunus's full-sized avatar
:octocat:
Working from home

Muhammad Yunus Muhammad-Yunus

:octocat:
Working from home
View GitHub Profile
@Muhammad-Yunus
Muhammad-Yunus / keras_05_mnist_batch_norm.ipynb
Last active August 27, 2023 05:38
keras_05_mnist_batch_norm.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_04_mnist_convolutional.ipynb
Last active August 27, 2023 05:39
keras_04_mnist_convolutional.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_03_mnist_dense_lrdecay_dropout.ipynb
Last active August 27, 2023 05:39
keras_03_mnist_dense_lrdecay_dropout.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_02_mnist_dense.ipynb
Last active August 27, 2023 05:39
keras_02_mnist_dense.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_06_model_serving.ipynb
Last active August 26, 2023 09:45
keras_06_model_serving.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / keras_01_mnist.ipynb
Last active August 27, 2023 05:40
keras_01_mnist.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Muhammad-Yunus
Muhammad-Yunus / build_info.txt
Created October 16, 2021 08:29
Raspberry Pi 3 OpenCV 4.5.3 Build Information
General configuration for OpenCV 4.5.3 =====================================
Version control: 4.5.3
Extra modules:
Location (extra): /home/pi/build_opencv/opencv_contrib/modules
Version control (extra): 4.5.3
Platform:
Timestamp: 2021-10-16T00:06:17Z
Host: Linux 5.10.63-v7+ armv7l
@Muhammad-Yunus
Muhammad-Yunus / pocl-cuda6.5.patch
Last active October 16, 2021 15:37
Patch file for PoCL 1.7 with CUDA 6.5 backend on ARMv7 (Jetson TK1)
diff --git a/lib/CL/devices/cuda/pocl-cuda.c b/lib/CL/devices/cuda/pocl-cuda.c
index cd9e044..06a9cde 100644
--- a/lib/CL/devices/cuda/pocl-cuda.c
+++ b/lib/CL/devices/cuda/pocl-cuda.c
@@ -1082,7 +1082,7 @@ pocl_cuda_submit_kernel (CUstream stream, _cl_command_node *cmd,
}
if (constantMemBytes > constant_mem_size)
- POCL_ABORT ("[CUDA] Total constant buffer size %u exceeds %lu allocated\n",
+ POCL_ABORT ("[CUDA] Total constant buffer size %u exceeds %u allocated\n",
@Muhammad-Yunus
Muhammad-Yunus / build_opencv_4.5.3.sh
Created October 16, 2021 00:08
Raspberry Pi 3 Build OpenCV 3.4.5 with OpenCL, OpenGL, GStreamer Enable
#!/usr/bin/env bash
# 2019 Michael de Gans
set -e
# change default constants here:
readonly PREFIX=/usr/local # install prefix, (can be ~/.local for a user install)
readonly DEFAULT_VERSION=4.5.3 # controls the default version (gets reset by the first argument)
readonly CPUS=$(nproc) # controls the number of jobs
@Muhammad-Yunus
Muhammad-Yunus / clinfo.txt
Created October 15, 2021 10:36
OpenCL clinfo Raspberry Pi 3 (POCL + VC4CL)
Number of platforms 2
Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU
Platform Vendor doe300
Platform Version OpenCL 1.2 VC4CL 0.4.9999 (4bf06c9)
Platform Profile EMBEDDED_PROFILE
Platform Extensions cl_khr_il_program cl_khr_spir cl_khr_c reate_command_queue cl_altera_device_temperature cl_altera_live_object_tracking cl_khr_i cd cl_khr_extended_versioning cl_khr_spirv_no_integer_wrap_decoration cl_khr_suggested_l ocal_work_size cl_vc4cl_performance_counters
Platform Extensions function suffix VC4CL
Platform Name Portable Computing Language
Platform Vendor