82c402cb7fab567e5becea9b8c92dd01dea953c2,studio/lworker.py,,main,#Any#,83
Before Change
" due lack of resources. Will retry")
time.sleep(5)
queue = glob.glob(fs_tracker.get_queue_directory() + "/*")
logger.info("Queue in {} is empty, quitting"
.format(fs_tracker.get_queue_directory()))
After Change
config = model.get_config(parsed_args.config)
while queue.has_next():
first_exp, ack_key = queue.dequeue(acknowledge=False)
// first_exp = min([(p, os.path.getmtime(p)) for p in queue],
// key=lambda t: t[1])[0]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: studioml/studio
Commit Name: 82c402cb7fab567e5becea9b8c92dd01dea953c2
Time: 2017-06-12
Author: peter.zhokhov@sentient.ai
File Name: studio/lworker.py
Class Name:
Method Name: main
Project Name: jsalt18-sentence-repl/jiant
Commit Name: c6414c2a14cdf74addceeafeea55ee782e8cd391
Time: 2019-06-27
Author: yp913@nyu.edu
File Name: main.py
Class Name:
Method Name: get_best_checkpoint_path
Project Name: eriklindernoren/Keras-GAN
Commit Name: 6f90dac721f38b365ad87e1633860f53b9ca44db
Time: 2018-03-14
Author: eriklindernoren@gmail.com
File Name: discogan/data_loader.py
Class Name: DataLoader
Method Name: load_data
Project Name: studioml/studio
Commit Name: 4efb423f447f5ba0957e1e27272c5e674e4a8461
Time: 2020-04-06
Author: andrei.denissov@cognizant.com
File Name: studio/local_queue.py
Class Name: LocalQueue
Method Name: dequeue