davidsandberg / facenet

Face recognition using Tensorflow
MIT License
13.71k stars 4.8k forks source link

ImportError: No module named src.generative.models.dfc_vae #756

Open praveenkumarchandaliya opened 6 years ago

praveenkumarchandaliya commented 6 years ago

when i have execute this command on Ubuntu ..

python src/generative/train_vae.py src.generative.models.dfc_vae ~/datasets/clf_mtcnnpy_128 src/models/inception_resnet_v1 ~/models/export/20170512-110547/model-20170512-110547.ckpt-250000 --models_base_dir ~/vae/ --reconstruction_loss_type PERCEPTUAL --loss_features 'Conv2d_1a_3x3,Conv2d_2a_3x3,Conv2d_2b_3x3' --max_nrof_steps 50000 --batch_size 128 --latent_var_size 100 --initial_learning_rate 0.0002 --alfa 1.0 --beta 0.5

Error message occure

ImportError: No module named src.generative.models.dfc_vae

praveenkumarchandaliya commented 6 years ago

src not include in command line

solution python src/generative/train_vae.py generative.models.dfc_vae ~/datasets/clf_mtcnnpy_128 src/models/inception_resnet_v1 ~/models/export/20170512-110547/model-20170512-110547.ckpt-250000 --models_base_dir ~/vae/ --reconstruction_loss_type PERCEPTUAL --loss_features 'Conv2d_1a_3x3,Conv2d_2a_3x3,Conv2d_2b_3x3' --max_nrof_steps 50000 --batch_size 128 --latent_var_size 100 --initial_learning_rate 0.0002 --alfa 1.0 --beta 0.5