You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
forentryintqdm(scraper):
saved=Falseifnotignore_statistics:
saved=entry.statistics(recompute=True, save=True) isnotNone# Get GPU info for this job.update_allocated_gpu_type(cluster, entry)
ifnotsaved:
collection.save_job(entry)
print(f"Saved {len(scraper)} entries.")
The part collection.save_job(entry) will not be called if entry.statistics returns True. The function update_allocated_gpu_type should also verify if it had made any modification and return this as a bool.
The text was updated successfully, but these errors were encountered:
The part
collection.save_job(entry)
will not be called if entry.statistics returnsTrue
. The functionupdate_allocated_gpu_type
should also verify if it had made any modification and return this as a bool.The text was updated successfully, but these errors were encountered: