Problem with the cross_valid_foldobjects method

Created by: tiagofrepereira2012

There is a problem when you try to fetch the data using the method cross_valid_foldobjects with the argument types=None (the default value provided). The line above makes the script stop. This method only accepts a tuple in the "type" argument.

import xbob.db.casia_fasd db = xbob.db.casia_fasd.Database() a,b = db.cross_valid_foldobjects(cls='attack', types=None, fold_no=1)

This method should work similar to the method "objects"m which accepts None in the "types" argument.