Closed prabhuteja12 closed 3 years ago
Hey,
This is snippet is from the code of https://github.com/fcdl94/MiB.
Yes, the lambda argument is not used, but because of late binding of the lambda the code still works. Sure intersect can probably work too.
You can do that and check that the generated indexes are the same :)
Cool. Thanks!
Hi,
I'm looking at your code to
filter_images
in utils.py. I see that the arguments to the lambda function are not used at all.and I think the filtering codes can be simplified to
np.intersect1d
, right?Is this correct?