googlecodelabs / tensorflow-for-poets-2

Apache License 2.0
508 stars 463 forks source link

Illegal instruction (core dumped) #76

Open maelfosso opened 6 years ago

maelfosso commented 6 years ago

Hi,

Please I have this error Illegal instruction (core dumped) when run either python -m scripts.retrain -h or python -m scripts.retrain \ --bottleneck_dir=tf_files/bottlenecks \ --how_many_training_steps=500 \ --model_dir=tf_files/models/ \ --summaries_dir=tf_files/training_summaries/"${ARCHITECTURE}" \ --output_graph=tf_files/retrained_graph.pb \ --output_labels=tf_files/retrained_labels.txt \ --architecture="${ARCHITECTURE}" \ --image_dir=tf_files/flower_photos

How to solve it please ?

ambarishgurjar commented 5 years ago

I think its a bit late to reply but I came across a similar problem

Downgrading the tensorflow to version 1.5 worked (pip install tensorflow==1.5) @