Author Archives: tim

compute_total_loss

You’re here because you can’t get the unit tests for the Coursera Improving Deep Neural Networks course, Week 3, exercise number 1, to pass. You are trying to correctly implement def compute_total_loss(logits, labels): And the unit test keeps failing with … Continue reading

Posted in Machine Learning | Comments Off on compute_total_loss

Teraflops Comparison

Documenting some various GPU hardware Name TFLOPssingle precision TFLOPStensor perf (FP16) TFLOPS(FP16-Sparse) Tensorcores CUDA cores RAM RTX 3080Ti 34.1 136 273 320 10,240 12 GB V100 (specs) 14 112 640 5,120 16 GB RTX3070 20.31 184 5,888 8 GB GTX … Continue reading

Posted in Uncategorized | Comments Off on Teraflops Comparison

AWS EC2 GPU instance comparison

These are the results from running the ml-style-transfer project on three different AWS EC2 instance types. Instance Name $Cost/hour 250 epochs 2,500 epochs 50,000 epochs p3.2xlarge $3.06 14s$0.0119 55s$0.0468 928s$0.7888 t2.large $0.093 849s$0.0219 14,676s$0.3791 293,520s(extrapolated)$7.5826 c5.4xlarge $0.68 221s$0.0417 2,152s$0.4065 43,040(extrapolated)$8.1298 … Continue reading

Posted in Hardware, Machine Learning | Comments Off on AWS EC2 GPU instance comparison

Read, Do, Aha

This is a variation of “Be, Do, Have” (“Be, Do Have” == Be a photographer, Do take a bunch of photos, and then Have/Buy expensive equipment). It records my recent epiphany in Machine Learning. This variation is “Read, Do, Aha”. … Continue reading

Posted in Machine Learning | Comments Off on Read, Do, Aha

Another Dell SFF

The goal of this machine was, well, it was basically too inexpensive to pass up. It was refurbished, from SJ Computers LLC. It arrived in a box that used the standard “conform to interior” expanding foam, and was very well … Continue reading

Posted in Computer Builds | Comments Off on Another Dell SFF

Ubuntu 22.04 VNC stops working

My Ubuntu 22.04 virtual machine has been constantly turning off (crashing?) the VNC server. This is the VNC server that is built-in under Settings -> Sharing -> Remote Desktop -> Enable Legacy VNC Protocol. One way to restart the VNC … Continue reading

Posted in Ubuntu | Comments Off on Ubuntu 22.04 VNC stops working

Kaggle, JSON, Python, and pandas

While looking at various datasets from kaggle to do some experiments with Python and graph visualization with networkx, the arXiv dataset caught my attention. It has a (relatively) simple schema – authors, papers, and categories. It is also huge – … Continue reading

Posted in Machine Learning | Comments Off on Kaggle, JSON, Python, and pandas

Vue.js 2 versus 3

As of this post creation, Vue.js version 3 is available, and is “being promoted” over version 2. For example, the default “npm install -g @vue/cli” install will use Vue 3.2.41 by default. Don’t use version 3 at this time. The … Continue reading

Posted in Software Engineering, Software Project | Comments Off on Vue.js 2 versus 3

Benchmark Disks NVMe vs SSD SATA vs HDD SATA

Benchmarked with Samsung Magician Device Seq ReadMB/s Seq WriteMB/s Random ReadIOPS Random WriteIOPS Samsung 980 Pro1TB NVMe 6920 5174 984130 297607 Samsung 980 Pro 2TB NVMe 7007 5240 1053222 924072 Samsung 980 Pro 2TB NVMewhen plugged into a PCIe 4.0 … Continue reading

Posted in Computer Builds, Hardware | Comments Off on Benchmark Disks NVMe vs SSD SATA vs HDD SATA

Core i5 Update

This is a rebuild of the Core i5 Sandy Bridge Build machine. This machine also started spontaneously shutting off, have BSOD and freeze events. (Just like what caused the Core i5-10400 rebuild, previously). The CPU, motherboard and RAM were changed … Continue reading

Posted in Computer Builds, Core-i5 | Comments Off on Core i5 Update