@seed sagemaker plugin=roofAI,screen
on Mac,
βοΈ python3 -m roofAI.semseg predict β device cpu β model_path /Users/kamangir/storage/abcli/2023β10β29β12β57β16β38247 β dataset_path /Users/kamangir/storage/abcli/roofAI_ingest_AIRS_2023β11β12β19β44β22β27771 β prediction_path /Users/kamangir/storage/abcli/2023β11β26β19β22β40β31128 β profile FULL
+= tqdm.
why doesnβt vscode click not work? fixed, thanks to OpenAI.
report prediction time.
took 390 millisecond(s)
roofAI semseg predict \
profile=VALIDATION \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
roofAI semseg predict \
device=cpu,profile=VALIDATION \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
took 333 millisecond(s)
validate a roofAI predict on GPU,
roofAI semseg predict \
device=cuda,profile=VALIDATION \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
pr_mask = self.model.predict(x_tensor)
RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same
took 235 millisecond(s)
roofAI semseg predict \
device=cpu,profile=QUICK \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
roofAI semseg predict \
device=cuda,profile=QUICK \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
10+
times faster. π
duplicate item in the roofAI signature, investigate β document elapsed time β number of objects on the image β
roofAI semseg predict \
device=cpu,profile=VALIDATION \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
roofAI semseg predict \
profile=VALIDATION \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
roofAI semseg predict \
profile=QUICK \
$(@ref roofAI_semseg_model_AIRS_full_v2) \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp)
validate train on CPU β on GPU β
roofAI semseg train \
profile=VALIDATION \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp) \
--classes roof
RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor
pr_mask = self.model.predict(x_tensor)
roofAI semseg train \
profile=QUICK,upload \
$(@ref roofAI_ingest_AIRS_v2) \
$(@timestamp) \
--classes roof
Next: training on GPU.