useful check to ensure that there's zero overlap between training/ test/ val splits:
set(open('testFree.jpgl')) & set(open('trainFree.jpgl'))
if you put into a bash script it should look like this
#!/bin/bash
echo -e "for i in set(open('$1')) & set(open('$2')):print i" | python
credit: @larsmans in stackoverflow
set(open('testFree.jpgl')) & set(open('trainFree.jpgl'))
if you put into a bash script it should look like this
#!/bin/bash
echo -e "for i in set(open('$1')) & set(open('$2')):print i" | python
credit: @larsmans in stackoverflow
No comments:
Post a Comment