No, just login the tao docker and try to run below standalone python script. Not needed to copy other python samples or TRT source.
Inferring resnet18 classification etlt model with python - #9 by Morganh
or Inferring resnet18 classification etlt model with python - #40 by Morganh