Skip to content

HELP ME: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #2

@lienchibao1998

Description

@lienchibao1998
 buf1=self.detect_trash(frame)

File "c:/Users/Dell/Pictures/trash-type-detection-software/app/main.py", line 111, in detect_trash
feed_dict={image_tensor: frame_expanded})
File "C:\Users\Dell\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\Dell\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1121, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "C:\Users\Dell\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core_asarray.py", line 83, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions