carpedm20 / carpedm20/DCGAN-tensorflow

TypeError: 'NoneType' object is not subscriptable

Open
#396 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

[ WARN:0@1.299] global D:\a\opencv-python\opencv-python\opencv\modules\imgcodecs\src\loadsave.cpp (239) cv::findDecoder imread_('./datasets/mobile_data_img\'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "main.py", line 146, in
tf.app.run()
File "C:\Users\For36\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
File "main.py", line 114, in main
max_to_keep=FLAGS.max_to_keep)
File "C:\Users\For36\Desktop\New folder\DCGAN-tensorflow-master\model.py", line 93, in __init__
imreadImg = imread(self.data[0])
File "C:\Users\For36\Desktop\New folder\DCGAN-tensorflow-master\utils.py", line 56, in imread
img_rgb = img_bgr[..., ::-1]
TypeError: 'NoneType' object is not subscriptable

how do i fix this

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.