Intrusion-Detection-System-Using-CNN-and-Transfer-Learning icon indicating copy to clipboard operation
Intrusion-Detection-System-Using-CNN-and-Transfer-Learning copied to clipboard

can't found ".h5"

Open BuLaTaa opened this issue 1 year ago • 0 comments

Dear author, I'm just starting to get into this field and I'm having some problems reproducing your experiments, can you please help me out? Traceback (most recent call last): File "/home/matianqi/CNN_Transfer_IDS/3-Ensemble_Models-CAN.py", line 71, in xception_model=load_model('./xception.h5') File "/home/matianqi/anaconda3/envs/tensorflow/lib/python3.9/site-packages/tensorflow/python/keras/saving/save.py", line 211, in load_model loader_impl.parse_saved_model(filepath) File "/home/matianqi/anaconda3/envs/tensorflow/lib/python3.9/site-packages/tensorflow/python/saved_model/loader_impl.py", line 111, in parse_saved_model raise IOError("SavedModel file does not exist at: %s/{%s|%s}" % OSError: SavedModel file does not exist at: ./xception.h5/{saved_model.pbtxt|saved_model.pb}

Do I need to run the data preprocessing code and optimized CNN code for play before I can run the 3-Ensemble_Models-CAN code?

I look forward to your reply!

BuLaTaa avatar Oct 10 '24 09:10 BuLaTaa