MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __init__

Method __init__

data_loader/dataloader.py:90–100  ·  view source on GitHub ↗
(self, hairstyle_path)

Source from the content-addressed store, hash-verified

88
89class HairStylePathData():
90 def __init__(self, hairstyle_path):
91 self.hairstyle_path=hairstyle_path
92
93 #check the chunked versions
94 #for full_strands
95 # path_chunk_10 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_10")
96 self.path_chunk_100 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_100")
97 self.path_chunk_1000 = os.path.join(hairstyle_path,"full_strands_chunked","nr_strands_1000")
98 # self.chunked_10_strands_files = [os.path.join(path_chunk_10, f) for f in listdir(path_chunk_10)]
99 # self.chunked_100_strands_files = [os.path.join(path_chunk_100, f) for f in listdir(path_chunk_100)]
100 # self.chunked_1000_strands_files = [os.path.join(path_chunk_1000, f) for f in listdir(path_chunk_1000)]
101
102 # check if we even have the chunked data required
103 def can_load_chunked_paths(self,chunk=100):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected