This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import print_function | |
| from nvidia.dali.pipeline import Pipeline | |
| import nvidia.dali.ops as ops | |
| import nvidia.dali.types as types | |
| from nvidia.dali.plugin.pytorch import DALIGenericIterator | |
| import logging | |
| import os | |
| import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ $# -lt 1 ]; then | |
| echo "USAGE: $(basename $0) [INFILE] [NUM_THREADS]" | |
| exit 0 | |
| fi | |
| infile=$1 | |
| num_threads=${2:-"4"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |