Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in DCGAN-tensorflow #8

Open
Niculuse opened this issue Dec 2, 2017 · 2 comments
Open

Error in DCGAN-tensorflow #8

Niculuse opened this issue Dec 2, 2017 · 2 comments

Comments

@Niculuse
Copy link

Niculuse commented Dec 2, 2017

information is as follows:
PS F:\tf\GAN_for_ReID\DCGAN-tensorflow-master> python main.py --data_set duke_train --train --input_height 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
Copy link

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
Copy link
Owner

layumi commented Dec 26, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants