Mathematical Foundations and Note-Taking Perfecting Mathematical Notation After returning to academia following a decade in industry, I discovered the importance of clear mathematical notation. Here s why it matters: Documentation and Organization The PhD Notebook System Maintain a dedicated notebook for your doctoral journey. Use it to: Task Management Strategy The Two-Category System Divide…
This script fetches the node information from PBS. This information is only available on the master node. Next, it ssh s into each node in the cluster allocated to your job, sets the appropriate environment variables (these tell Pytorch lightning how to communicate with the master node), and then launches your training script. The master node [ ]
1 to 30MHz log mag, marker at 22.170MHz. 7 7.5 MHz, Marker at 7.155 MHz 20-23MHz,marker at 22.070MHz 50kHz 50MHz, marker at 37.013MHz 7-30MHz, SWR, marker at 22.180MHz 1-30MHz, SWR, marker at 7.090MHz
I have noticed for year that tensorboard v2.x subscamples scalars when plotting. I never tried to reproduce the problem but noticed if I had a longish training run, every epoch s loss was not displayed on tensorboard. This would produce a strange jaggy effect of the plot which I never liked, especially given my signal processing [ ]
This video is from the GOES Satellite imaging sensor over a 24 hour period. I captured this using a SawBird LNA, a WiFi dish, an RTL-SDR, and the XRIT decoding software. Screenshot of the groundstation terminal. Source code to compile the video is below. import os import glob import cv2 import matplotlib.pyplot as plt [ ]
I am writing a fairly complicated Numba code and kept getting a cryptic error which took me a few hours to figure out. The error was the following: numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend) No implementation of function Function( built-in function array ) found for signature: array(array(float64, 1d, C)) There are 2 candidate [ ]
As of Tensorflow 2.1, you cannot do the following when running in a windows 10 environment on the GPU (it does work fine if you are running on the CPU though): r = tf.complex(magnitude, 0.0) * tf.math.exp(tf.complex(0.0,1.0)*tf.complex(phase, 0.0)) This results in a barrage of CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure error messages. I filed a bug report [ ]
We mountain bike quite a bit in Redarca, a little village behind Lerici, Italy. The trails are well maintained and mostly enduro types. I spend most of my time biking the trails around Monte Branzi and the surrounding area (Snake, Guercio, Branzi, Buck). [momentopress url=https://momento360.com/e/u/1dc752ffe44e4088bac5c69df08b7a54?utm_campaign=embed utm_source=other utm_medium=other] [momentopress…
We took a tour through the Carrara Marble Mines. If you re a James Bond fan, you ve likely had already seen them. The opening scene of Quantum of Solace was filmed here. We drove the same roads as James Bond and even visited the house the car crashes into before going over the cliff. Can you [ ]
Yesterday I blogged about the 17th-century ruins off of a mountain bike trail in Redarca. I took Ryanne there this evening to see them. She took some really great pics including some nice ones of the frescoes. I wanted to share so here they are. [envira-gallery id= 881 ]
There s a reasonable amount of mountain biking here in Lerici. It s not nearly as big as Rothrock, but it still beautiful and worth putting in the effort to see. We bike in areas behind our flat called Monte Rochetta and Redarca. It s a 3-mile uphill ride to get to the trailheads. There are quite a [ ]
This week has had some really fun adventures. We bought Ryanne and mountain bike and did some riding around Monte Rochetta, Monte Branzi, and Redarca including going down Toranatini (hairpin in Italian). She did really well. We also took a ride to Tellaoro, the next town over. This was a pretty easy ride but were able to rack [ ]
Ryanne arrived here on Sunday (left the USA on Saturday). Ken and Claire picked her up from the Gerg homestead and took her took the State College airport. After a long 18 hour trip with three flights and a train ride, we arrived together in our new home in Lerici, Italy! (I took the train [ ]
I was doing an experiment that involved Monte-Carlo (MC) dropout. I had to change the rate of dropout and have it dropout during test time. I was able to turn dropout on during test time by making a new function and passing in the learning_phase tensor. # This code allows dropout to run during test time. [ ]
Reading in the weights # bastardized from https://aboveintelligent.com/face-recognition-with-keras-and-opencv-2baf2a83b799 from scipy.io import loadmat data = loadmat(weightsFilename, matlab_compatible=False, struct_as_record=False) net = data['net'][0,0] net = net.net_params[0,0] # first conv layer tmp = net.layers[1,0][0,0] weights = np.zeros((8,8,1,8)) bias = np.zeros(8) for k in range(8):…
In 2007, The first iPhone was release. GPU computing was coming into mainstream, CUDA 1.0 released. The Samsung Galaxy phone didn t exist yet. The first year you longer need an invitation to get a gmail account. In February 2007, the Nintendo wii outsells the XBOX and Ps4 (https://www.technologyreview.com/s/408183/hack-the-nintendo-wii/) The first Amazon Kindle is released…
Here are my instructions to install Tensorflow (tf) in Windows 7 x64 for Python 3.5. I have verified these instructions work to get tf working with Keras. e sure to update your keras.json file to use the tf backend if you already use theano. You do not need to purchase visual studio to get this [ ]
I recently upgraded my machine learning toolchain to keras and thought it would be a good time to revisit the ongoing theano + Python 3.4 + Windows 7 saga. I found a simple set of instructions here which I tweaked a bit to get to work with my setup. Here are the full instructions: Install python 64bit [ ]
I was fortunate enough to have 3 samples of what I will call gut bacteria (you fill in the blanks) examined by a new startup, uBiota. I have to say, I am impressed with their visualization. Its very interactive and easy to use. I really like the search function. A picture is worth a [ ]
SWB SWA Description 0 1 Stable mode - position hold mode. 0 2 Return to home mode 1 1 Flight direction lock 1 2 Altitude mode, drive at a fixed altitude (may run into hills). Don't have to use the throttle (left paddle up-down) Flight stability Calibration Left control pressed down left - red and [ ]
I took the images2gif.py class (https://bitbucket.org/bench/images2gif.py) and modified it to work with Python 3. Most of the work involved moving from str type to bytes. Code is on github (https://github.com/isaacgerg/images2gif).
This is my first entry promoting something. I dislike when others do it but I am making an exception because this service has significantly helped me. The company is called PicnicHealth and their website is http://www.picnichealth.com. Since returning from Italy last year, I have been plagued with chronic stomach dysfunction. I have seen several doctors [ ]
My instructions for installing Theano 0.6 with Windows 7-64 bit Anaconda 2.1.0 (Python 2.7). This tutorial only works with 2.1.0. I tested it with 2.2.0 and it did not work. I have no plans to fix this issue. CUDA 7.0 Steps Download Anaconda 2.1.0 from here. Install pip via command line using pip install…
This took me forever to figure out. I noticed lots of people online had the same question but few got it working properly and some had to do a hack. Here is the clean way to do this. The trick is in setTransformationAnchor() and setDragMode() My setup code in my QDailogs __init__ function: imageFilename = [ ]
Would like to write something about this eventually. Here are some pics. This was a last minute trip literally booked my plane tickets and a week later was in Casablanca. Would like to write something about budget travel, traveling like you live there, and how you don t need to have a plan to travel but [ ]
I wrote a simple transceiver class for the USRP1 (GNURadio) using the new UHD interface. The class allows you to send and receive data. What you fill in for the data is up to you. Currently, the class performs simple energy detection (sends a 100 sample burst with constant envelope) and works when you hook [ ]
Sexy title, I know! Anyways, I m developing using Visual Studio 10 (not my choice). I have a project which involves the use of CUDA and Boost. The newest version of CUDA (at the time of this writing) won t work out of the box with the vs100 compiler that comes with Visual Studio 10. CUDA can [ ]
The missions trip I have previously taken to (and will take again this year very soon) Estonia was mentioned in State College, PA s Town Gown magazine. The article is here.
So I have been looking for a seg-2 reader for MATLAB for some time now. For those of you who don t know, seg-2 is a file format for storing seismic data. Anyways, I ve googled seg-2 reader MATLAB for sometime and came up with some shareware software and some broken links pointing to MATLAB code. Today, [ ]
I had been looking for some time for an interface for the USRP/GNU Radio to MATLAB Simulink. Well, I went looking through the MATLAB forums today and saw that someone responded to my post. I checked the GNU Radio forums to make sure this information was seen to the users of that listserv. I found [ ]
About a week ago, my driver-side windshield wiper starting behaving strangely. The wiper would move too far to the left and not always go back to its wiper-home when turned off. It also seemed to move in a delayed fashion when in comparison to the passenger-side wiper. When passengers asked about it, I compared it [ ]
I ve been looking at the logs for this site and have noticed that many people come here looking for the article on debricking a Linksys WRT54GS router (March 31st, 2007), an article on my old blog. Well, I had lost the article when I switched web content solutions but just found it in the Internet [ ]
I have emailed John Kerekes of RIT about getting a forum set up for this contest. He thinks it is a good idea, so I went ahead today and set on up. The forum is http://n3.nabble.com/RIT-Hyperspectral-Target-Detection-Blind-Test-Forum-f48632.html . Enjoy.
RIT is currently hosting a hyperspectral target recognition contest. They group provides a training set and a test set. You run your algorithm on the test set and then submit your results via web browser. The website scores you and determines your rank. I won t go into much more detail of the contest. Go to [ ]
I ve been implementing several hyperspectral target detection algorithms for the Matlab Hyperspectral Toolbox. I am going to use this post to summarize my research and implementations. It will take me a few days to get all my thoughts together, so this note will be a living post over the next week or so. Please email [ ]
So I just purchased a person copy of Matlab. I start to run my hyperspectral toolbox upon it only to be greeted with Matlab segfaulting. I traced back the error to the inv() and eig() functions. For a little test, I constructed a one line program that invokes the crash: clear; inv(eye(2)); Now, I begin [ ]
I just released my Matlab Hyperspectral Toolbox. Its available for download at: http://sourceforge.net/projects/matlabhyperspec/files/ There are separate downloads for the code and the sample data files. Im still getting the hang of how to handle sourceforge.net, but will have a webpage (wiki) up soon. The current release features a function called hyperDemo which demonstrates two fully [ ]
Recently, I resurrected an old computer given to me by a friend. I installed a legal version of XP on it and began to install my usual software. I installed Google Chrome and Firefox. One day, I noticed Google Chrome was processing flickr.com s login strangely: Chrome was given me a warning about SSL certificates and [ ]