#!/bin/csh -f # cshg for the generalization phase of the timbre recognition and # classification device. # source /usr/ccrma/package/planet/RunNet # Definitions of paths for the file locations # ---------------------------------------- set NET = n.timbrec set GEN = pat/timbres set WTS = wts/hidden set SCR = src/screentr set OUT = out/timbres # The interface with Planet part # -------------------------------- # run the net for 400 hidden units foreach Nhid(400) # i will also run the network with fewer hidden units. #foreach Nhid(300) #foreach Nhid(200) #foreach Nhid(100) #foreach Nhid(50) # read the number of units for each layer and call in the net file # The number of units defined as follow: # 400 units for the input, 3 for the out, 400 for the hidden (why not?) network Nin=400 Nout=3 Nhid=$Nhid $NET read $WTS.$Nhid step 100 screen $SCR pattern $GEN cycle 1 Test > $OUT.$Nhid end quit