layumi / Person-reID_GAN

ICCV2017 Unlabeled Samples Generated by GAN Improve the Person Re-identification Baseline in vitro
https://arxiv.org/abs/1701.07717
MIT License
320 stars 89 forks source link

Error in DCGAN-tensorflow #8

Open Niculuse opened 6 years ago

Niculuse commented 6 years ago

information is as follows: PS F:\tf\GAN_for_ReID\DCGAN-tensorflow-master> python main.py --data_set duke_train --train --inputheight 128 --output height 128 --options 1 {'batch_size': 64, 'beta1': 0.5, 'checkpoint_dir': 'checkpoint', 'crop': False, 'dataset': 'celebA', 'epoch': 25, 'input_fname_pattern': '*.jpg', 'input_height': 128, 'input_width': None, 'learning_rate': 0.0002, 'options': 1, 'output_height': 128, 'output_path': 'duke_result', 'output_width': None, 'sample_dir': 'samples', 'sample_size': 1000, 'train': True, 'train_size': inf, 'visualize': False} 2017-12-02 10:27:00.324224: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 2017-12-02 10:27:01.058755: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1030] Found device 0 with properties: name: GeForce GTX 860M major: 5 minor: 0 memoryClockRate(GHz): 1.0195 pciBusID: 0000:01:00.0 totalMemory: 2.00GiB freeMemory: 1.65GiB 2017-12-02 10:27:01.065748: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 860M, pci bus id: 0000:01:00.0, compute capability: 5.0) Traceback (most recent call last): File "main.py", line 100, in tf.app.run() File "D:\Program Files (x86)\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "main.py", line 78, in main sample_dir=FLAGS.sample_dir) File "F:\tf\GAN_for_ReID\DCGAN-tensorflow-master\model.py", line 78, in init imreadImg = imread(self.data[0]); IndexError: list index out of range please tell me how to solve it.Thanks for your time!

TaihuLight commented 6 years ago

You shoul use the version forked by layumi, it is correct. but my test result on Market1501 is mAP=0.532, rank-1 = 0.7497

layumi commented 6 years ago

Hi @Niculuse , Sorry for the late response. I didn't notice this issue. You may refer to https://github.com/layumi/DCGAN-tensorflow Any question is welcomed.

Thanks for reporting your result @TaihuLight Did you test K+1 or baseline result? Are these result right?