MCPcopy Create free account
hub / github.com/CommissarMa/CSRNet-pytorch / __init__

Method __init__

dataset.py:19–33  ·  view source on GitHub ↗

root: the root path of dataset. phase: train or test. main_transform: transforms on both image and density map. img_transform: transforms on image. dmap_transform: transforms on densitymap.

(self, root, phase, main_transform=None, img_transform=None, dmap_transform=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected