190025363107197f1704a06e21717af0ca577f18,cnn.py,,train,#,22
Before Change
def train(args):
if not os.path.exists("feat.npy") or not os.path.exists("label.npy"):
print("Run feat_extract.py first")
sys.exit(1)
else:
X = np.load("feat.npy")
y = np.load("label.npy").ravel()
After Change
def train(args):
if not op.exists("feat.npy") or not op.exists("label.npy"):
if input("No feature/labels found. Run feat_extract.py first? (Y/n)").lower() in ["y", "yes", ""]:
feat_extract.main()
train(args)
else:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: mtobeiyf/audio-classification
Commit Name: 190025363107197f1704a06e21717af0ca577f18
Time: 2018-11-25
Author: mvrozanti@hotmail.com
File Name: cnn.py
Class Name:
Method Name: train
Project Name: DexterInd/GoPiGo3
Commit Name: e7356fb0cfd38751274d12c2930cac0f80f8f882
Time: 2019-05-29
Author: cleoqc1124@gmail.com
File Name: Software/Scratch/GoPiGo3Scratch.py
Class Name:
Method Name: handle_GoPiGo3_msg
Project Name: DexterInd/GoPiGo3
Commit Name: e7356fb0cfd38751274d12c2930cac0f80f8f882
Time: 2019-05-29
Author: cleoqc1124@gmail.com
File Name: Software/Scratch/GoPiGo3Scratch.py
Class Name:
Method Name: handle_GoPiGo3_Sensor_msg
Project Name: geekcomputers/Python
Commit Name: 370e9904b001798fb6795170ca30d99f623ae1ce
Time: 2020-11-01
Author: yk66478@gmail.com
File Name: addition.py
Class Name:
Method Name: