Skip to content

Instantly share code, notes, and snippets.

View mctigger's full-sized avatar
🏠
Working from home

Tim Joseph mctigger

🏠
Working from home
  • KIT
  • Karlsruhe
View GitHub Profile
@mctigger
mctigger / gist:b4b5791b758c4ec651f9fb180be0f19e
Created October 19, 2021 10:29
clearml error when resetting
General data error (TransportError(429, '{"took":59500,"timed_out":false,"total":841236,"deleted":0,"batches":1,"version_conflicts":0,"noops":0,"retries":{"bulk":11,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,"failures":[{"index":"events-plot-d1bd92a3b039400cbafc60a7a5b1e52b","type":"_doc","id":"dd6978b347316c52ca6ceca3a517a280","cause":{"type":"es_rejected_execution_exception","reason":"rejected execution of processing of [1079686][indices:data/write/bulk[s][p]]: request: BulkShardRequest [[events-plot-d1bd92a3b039400cbafc60a7a5b1e52b][0]] containing [6] requests, target allocation id: pwOulVPQTEyYzg6P5UjCMw, primary term: 5 on EsThreadPoolExecutor[name = clearml/write, queue capacity = 200, org.elasticsearch.common.util.concurrent.EsThreadPoolExecutor@310e6893[Running, pool size = 64, active threads = 64, queued tasks = 200, completed tasks = 409896]]"},"status":429},{"index":"events-plot-d1bd92a3b039400cbafc60a7a5b1e52b","type":"_doc","id":"7b15901ce15cadfe9282c2d
trait T {}
struct A {}
struct B {}
impl T for A {}
impl T for B {}
fn main() {
println!("Hello, world!");
import time
from multiprocessing import Pool
import numpy as np
from skimage.transform import AffineTransform, SimilarityTransform, warp
center_shift = 256 / 2
tf_center = SimilarityTransform(translation=-center_shift)
tf_uncenter = SimilarityTransform(translation=center_shift)
object BugFixProject {
def main (args: Array[String]) {
val repoWithEntities = Seq(
(ARepo, Seq(A("", ""), A("", ""))),
(BRepo, Seq(B("", ""), B("", "")))
)
printall(repoWithEntities)
}