Quantumbraid/trainingdata / GenerateJob.py
Quantumbraid's picture
download
raw
587 Bytes
from jobs import BaseJob
from collections import OrderedDict
process_dict = {
'to_folder': 'GenerateProcess',
}
class GenerateJob(BaseJob):
def __init__(self, config: OrderedDict):
super().__init__(config)
self.device = self.get_conf('device', 'cpu')
# loads the processes from the config
self.load_processes(process_dict)
def run(self):
super().run()
print("")
print(f"Running {len(self.process)} process{'' if len(self.process) == 1 else 'es'}")
for process in self.process:
process.run()

Xet Storage Details

Size:
587 Bytes
·
Xet hash:
5e84a3f1f785ad8d230bf1c181e571bc3f9cc85a071086af5e9e8a3fa5507f8f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.