MCPcopy Create free account
hub / github.com/CandleLabAI/PCBSegClassNet / __init__

Method __init__

src/data/dataloader.py:140–142  ·  view source on GitHub ↗
(self, opt, num_classes)

Source from the content-addressed store, hash-verified

138
139class LoadClassData:
140 def __init__(self, opt, num_classes):
141 self.opt = opt
142 self.num_classes = num_classes
143
144 def parse_data(self, image, label):
145 # read the image from disk, decode it, convert the data type to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected