FileNotFoundError: [Errno 2] No such file or directory: '/work/models/image_mean_std/SAR-Intensity/mean.npy'

With the reference of previous issues thread, it is the incremental error in next cells, i am attaching the screen shot for your perusal. I am again anticipating that i have to use some config function to location the mean.npy , when i look for intellisense against config variable , it does not open the corresponding function, so again looking for kind consideration. Thank you so much for your previous guidelines. :)

I have put the below line to reach the correct directory but all in vain.
config.MEAN_STD_DIR = "/home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/"

I have put the below line to reach the correct directory but all in vain.
config.MEAN_STD_DIR = "/home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/"

Hi @Ehsan125.
This is weird..
Fixing MEAN_STD_DIR should solve the problem.
Did you download image_mean_std.zip from this S3 bucket?
Did you extract them under /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/ correctly?
Please check if the mean.npy and std.npy files actually exist under the correct path (= the path which appeared in the error message).

Hi @Ehsan125.
This is weird..
Fixing MEAN_STD_DIR should solve the problem.
Did you download image_mean_std.zip from this S3 bucket?
Did you extract them under /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/ correctly?
Please check if the mean.npy and std.npy files actually exist under the correct path (= the path which appeared in the error message).

Let me know if that does not help!

Let me know if that does not help!

files are present in the directory, before i was making the mistake in passing the path, but i later correct the path but still not working, i am attaching the screenshot of path where files are located , and also the error , File are mean.npy std.npy each file is of 160 Bytes Please find the screenshots , Thank you

files are present in the directory, before i was making the mistake in passing the path, but i later correct the path but still not working, i am attaching the screenshot of path where files are located , and also the error , File are mean.npy std.npy each file is of 160 Bytes Please find the screenshots , Thank you

I think i am not locating the test images path as it is showing in config.yml output. I should provide the test images path (of my local system where test images are present)

I think i am not locating the test images path as it is showing in config.yml output. I should provide the test images path (of my local system where test images are present)

Let me know if that does not help!
We may solve the problem by editing config.yaml file directly.

I am explicitly passing the location of test images path but there come redundancy of the same attribute in the config.yml like there are two
BOUNDARY_SUBSTRACT_COEFF: 0.2 BUILDING_MIM_AREA_PIXEL: 0 BUILDING_SCORE_THRESH: 0.5 CHECKPOINT_ROOT: /checkpoints DATALOADER:   TEST_BATCH_SIZE: 8   TEST_NUM_WORKERS: 8   TRAIN_BATCH_SIZE: 14   TRAIN_NUM_WORKERS: 8   TRAIN_SHUFFLE: True   VAL_BATCH_SIZE: 12   VAL_NUM_WORKERS: 8 DUMP_GIT_INFO: False ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions ENSEMBLE_EXP_IDS: [] EVAL:   EPOCH_TO_START_VAL: 100   MAIN_METRIC: iou/building_footprint   METRICS: ['iou'] EXP_ID: 17 INPUT:   BUILDING_DIR: /wdata/masks   CLASSES: ['building_footprint', 'building_boundary']   IMAGE_DIR: /data/train/AOI_11_Rotterdam   IMAGE_TYPE: SAR-Intensity   **_MEAN_STD_DIR: /work/models/image_mean_std_**   SAR_ORIENTATION: /work/static/SAR_orientations.txt   TEST_IMAGE_DIR: /data/spacenet6/spacenet6/test_public/AOI_11_Rotterdam/SAR-Intensity   TRAIN_VAL_SPLIT_DIR: /wdata/split   TRAIN_VAL_SPLIT_ID: 2 LOG_ROOT: /work/models/logs **_MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/SAR-Intensity/_** METHOD_TO_MAKE_POLYGONS: watershed MODEL:   ACTIVATION: sigmoid   ARCHITECTURE: unet   BACKBONE: timm-efficientnet-b8   DEVICE: cpu   ENCODER_PRETRAINED_FROM: advprop   FPN_DECODER_DROPOUT: 0.2   IN_CHANNELS: 4   PSPNET_DROPOUT: 0.2   UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)   UNET_ENABLE_DECODER_SCSE: True   WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth POLY_CSV_ROOT: /polygons POLY_OUTPUT_PATH: none PREDICTION_ROOT: /predictions SAVE_CHECKPOINTS: False SOLVER:   EPOCHS: 260   FOCAL_LOSS_GAMMA: 2.0   LOSSES: ['dice', 'bce']   LOSS_WEIGHTS: [1.0, 1.0]   LR: 0.0001   LR_ANNEALING_ETA_MIN: 0.0   LR_ANNEALING_T_MAX: 260   LR_MULTISTEP_GAMMA: 0.1   LR_MULTISTEP_MILESTONES: [230]   LR_SCHEDULER: multistep   OPTIMIZER: adam   WEIGHT_DECAY: 0.0 **_TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building_** Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity TEST_TO_VAL: False TRANSFORM:   ALIGN_SAR_ORIENTATION: True   TARGET_SAR_ORIENTATION: 0   TEST_SIZE: (928, 928)   TRAIN_HORIZONTAL_FLIP_PROB: 0.0   TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0   TRAIN_RANDOM_BRIGHTNESS_STD: 0.0   TRAIN_RANDOM_CROP_SIZE: (256, 256)   TRAIN_RANDOM_ROTATE_DEG: (0, 0)   TRAIN_RANDOM_ROTATE_PROB: 1.0   TRAIN_SPECKLE_NOISE_PROB: 1.0   TRAIN_SPECKLE_NOISE_STD: 0.0   TRAIN_VERTICAL_FLIP_PROB: 0.0 WATERSHED_MAIN_THRESH: 0.3 WATERSHED_MIN_AREA_PIXEL: 80 WATERSHED_SEED_MIN_AREA_PIXEL: 20 WATERSHED_SEED_THRESH: 0.7 WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/
I have bold the attributes in the above config.yml which are redundant, i want to ask does this creating the problem? Means might be this is creating the confusion of reading the exact path? One more thing that i have noticed that it the redundant lines are not under the same hierarchy as the other attribute is. Like MEAN_STD_DIR is under the INPUT  while the other redundant  MEAN_STD_DIR  is outside the INPUT , Can you please anticipate if it is the main source of popping the error? Thank you

Let me know if that does not help!
We may solve the problem by editing config.yaml file directly.

I am explicitly passing the location of test images path but there come redundancy of the same attribute in the config.yml like there are two
BOUNDARY_SUBSTRACT_COEFF: 0.2 BUILDING_MIM_AREA_PIXEL: 0 BUILDING_SCORE_THRESH: 0.5 CHECKPOINT_ROOT: /checkpoints DATALOADER:   TEST_BATCH_SIZE: 8   TEST_NUM_WORKERS: 8   TRAIN_BATCH_SIZE: 14   TRAIN_NUM_WORKERS: 8   TRAIN_SHUFFLE: True   VAL_BATCH_SIZE: 12   VAL_NUM_WORKERS: 8 DUMP_GIT_INFO: False ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions ENSEMBLE_EXP_IDS: [] EVAL:   EPOCH_TO_START_VAL: 100   MAIN_METRIC: iou/building_footprint   METRICS: ['iou'] EXP_ID: 17 INPUT:   BUILDING_DIR: /wdata/masks   CLASSES: ['building_footprint', 'building_boundary']   IMAGE_DIR: /data/train/AOI_11_Rotterdam   IMAGE_TYPE: SAR-Intensity   **_MEAN_STD_DIR: /work/models/image_mean_std_**   SAR_ORIENTATION: /work/static/SAR_orientations.txt   TEST_IMAGE_DIR: /data/spacenet6/spacenet6/test_public/AOI_11_Rotterdam/SAR-Intensity   TRAIN_VAL_SPLIT_DIR: /wdata/split   TRAIN_VAL_SPLIT_ID: 2 LOG_ROOT: /work/models/logs **_MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/SAR-Intensity/_** METHOD_TO_MAKE_POLYGONS: watershed MODEL:   ACTIVATION: sigmoid   ARCHITECTURE: unet   BACKBONE: timm-efficientnet-b8   DEVICE: cpu   ENCODER_PRETRAINED_FROM: advprop   FPN_DECODER_DROPOUT: 0.2   IN_CHANNELS: 4   PSPNET_DROPOUT: 0.2   UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)   UNET_ENABLE_DECODER_SCSE: True   WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth POLY_CSV_ROOT: /polygons POLY_OUTPUT_PATH: none PREDICTION_ROOT: /predictions SAVE_CHECKPOINTS: False SOLVER:   EPOCHS: 260   FOCAL_LOSS_GAMMA: 2.0   LOSSES: ['dice', 'bce']   LOSS_WEIGHTS: [1.0, 1.0]   LR: 0.0001   LR_ANNEALING_ETA_MIN: 0.0   LR_ANNEALING_T_MAX: 260   LR_MULTISTEP_GAMMA: 0.1   LR_MULTISTEP_MILESTONES: [230]   LR_SCHEDULER: multistep   OPTIMIZER: adam   WEIGHT_DECAY: 0.0 **_TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building_** Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity TEST_TO_VAL: False TRANSFORM:   ALIGN_SAR_ORIENTATION: True   TARGET_SAR_ORIENTATION: 0   TEST_SIZE: (928, 928)   TRAIN_HORIZONTAL_FLIP_PROB: 0.0   TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0   TRAIN_RANDOM_BRIGHTNESS_STD: 0.0   TRAIN_RANDOM_CROP_SIZE: (256, 256)   TRAIN_RANDOM_ROTATE_DEG: (0, 0)   TRAIN_RANDOM_ROTATE_PROB: 1.0   TRAIN_SPECKLE_NOISE_PROB: 1.0   TRAIN_SPECKLE_NOISE_STD: 0.0   TRAIN_VERTICAL_FLIP_PROB: 0.0 WATERSHED_MAIN_THRESH: 0.3 WATERSHED_MIN_AREA_PIXEL: 80 WATERSHED_SEED_MIN_AREA_PIXEL: 20 WATERSHED_SEED_THRESH: 0.7 WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/
I have bold the attributes in the above config.yml which are redundant, i want to ask does this creating the problem? Means might be this is creating the confusion of reading the exact path? One more thing that i have noticed that it the redundant lines are not under the same hierarchy as the other attribute is. Like MEAN_STD_DIR is under the INPUT  while the other redundant  MEAN_STD_DIR  is outside the INPUT , Can you please anticipate if it is the main source of popping the error? Thank you

Let me know if that does not help!
We may solve the problem by editing config.yaml file directly.

I am explicitly passing the location of test images path but there come redundancy of the same attribute in the config.yml like there are two
`

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /work/models/image_mean_std
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /data/spacenet6/spacenet6/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/SAR-Intensity/
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

`
I have bold the attributes in the above config.yml which are redundant, i want to ask does this creating the problem? Means might be this is creating the confusion of reading the exact path? One more thing that i have noticed that it the redundant lines are not under the same hierarchy as the other attribute is. Like MEAN_STD_DIR is under the INPUT while the other redundant MEAN_STD_DIR is outside the INPUT , Can you please anticipate if it is the main source of popping the error? Thank you

**config.INPUT.TEST_IMAGE_DIR = "/media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity"**
I have put the above line to come under the same hierarchy but still problem persist :(

Let me know if that does not help!
We may solve the problem by editing config.yaml file directly.

I am explicitly passing the location of test images path but there come redundancy of the same attribute in the config.yml like there are two
`

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /work/models/image_mean_std
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /data/spacenet6/spacenet6/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/SAR-Intensity/
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

`
I have bold the attributes in the above config.yml which are redundant, i want to ask does this creating the problem? Means might be this is creating the confusion of reading the exact path? One more thing that i have noticed that it the redundant lines are not under the same hierarchy as the other attribute is. Like MEAN_STD_DIR is under the INPUT while the other redundant MEAN_STD_DIR is outside the INPUT , Can you please anticipate if it is the main source of popping the error? Thank you

**config.INPUT.TEST_IMAGE_DIR = "/media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity"**
I have put the above line to come under the same hierarchy but still problem persist :(

Please add 2 lines before config.freeze().
config.INPUT.MEAN_STD_DIR = "/path/to/your/image_mean_std/"
config.INPUT.TEST_IMAGE_DIR = "/path/to/your/SAR-Intensity/"

Please replace the paths based on your environment.
Make sure mean.npy and std.npy are saved under image_mean_std directory.
As you noticed, the hierarchy is important.
.INPUT is necessary to update MEAN_STD_DIR and TEST_IMAGE_DIR parameters correctly.

Please add 2 lines before config.freeze().
config.INPUT.MEAN_STD_DIR = "/path/to/your/image_mean_std/"
config.INPUT.TEST_IMAGE_DIR = "/path/to/your/SAR-Intensity/"

Please replace the paths based on your environment.
Make sure mean.npy and std.npy are saved under image_mean_std directory.
As you noticed, the hierarchy is important.
.INPUT is necessary to update MEAN_STD_DIR and TEST_IMAGE_DIR parameters correctly.

It would be great if you could paste the config (the whole output of print(config)) and the whole error message shown in the notebook so that I can understand the problem more clearly.

It would be great if you could paste the config (the whole output of print(config)) and the whole error message shown in the notebook so that I can understand the problem more clearly.

If the problem still persists, it would be great if you could copy and paste the config (the whole output of print(config)) and the whole error message shown in the notebook so that I can understand the problem more clearly.

Problem related particular to this issue is resolved but now it is giving the following error:
TypeError: __init__() missing 1 required positional argument: 'image_paths'
May i open another issue ?

If the problem still persists, it would be great if you could copy and paste the config (the whole output of print(config)) and the whole error message shown in the notebook so that I can understand the problem more clearly.

Problem related particular to this issue is resolved but now it is giving the following error:
TypeError: __init__() missing 1 required positional argument: 'image_paths'
May i open another issue ?

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Here below is the config file out put:

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

and after running the updated file i am getting now the following error:

FileNotFoundError                         Traceback (most recent call last)
 in
9     image_paths,
10     augmentation=augmentation,
---> 11     preprocessing=preprocessing
12 )
13

~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/spacenet6.py in init(self, config, image_paths, augmentation, preprocessing)
114         assert config.TRANSFORM.TARGET_SAR_ORIENTATION in [0, 1]  # north (0) or south (1)
115         if config.TRANSFORM.ALIGN_SAR_ORIENTATION:
--> 116             self.orientation_df = read_orientation_file(config.INPUT.SAR_ORIENTATION)
117             self.target_orientation = config.TRANSFORM.TARGET_SAR_ORIENTATION
118         else:
~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/utils.py in read_orientation_file(path)
12         index_col=0,
13         names=['strip', 'direction'],
---> 14         header=None
15     )
16     rotationdf['direction'] = rotationdf['direction'].astype(int)
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
603     kwds.update(kwds_defaults)
604
--> 605     return _read(filepath_or_buffer, kwds)
606
607
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
455
456     # Create the parser.
--> 457     parser = TextFileReader(filepath_or_buffer, **kwds)
458
459     if chunksize or iterator:
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
812             self.options["has_index_names"] = kwds["has_index_names"]
813
--> 814         self._engine = self._make_engine(self.engine)
815
816     def close(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1043             )
1044         # error: Too many arguments for "ParserBase"
-> 1045         return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]
1046
1047     def _failover_to_python(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1860
1861         # open handles
-> 1862         self._open_handles(src, kwds)
1863         assert self.handles is not None
1864         for key in ("storage_options", "encoding", "memory_map", "compression"):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _open_handles(self, src, kwds)
1361             compression=kwds.get("compression", None),
1362             memory_map=kwds.get("memory_map", False),
-> 1363             storage_options=kwds.get("storage_options", None),
1364         )
1365
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
642                 encoding=ioargs.encoding,
643                 errors=errors,
--> 644                 newline="",
645             )
646         else:
FileNotFoundError: [Errno 2] No such file or directory: '/work/static/SAR_orientations.txt'

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Here below is the config file out put:

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

and after running the updated file i am getting now the following error:

FileNotFoundError                         Traceback (most recent call last)
 in
9     image_paths,
10     augmentation=augmentation,
---> 11     preprocessing=preprocessing
12 )
13

~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/spacenet6.py in init(self, config, image_paths, augmentation, preprocessing)
114         assert config.TRANSFORM.TARGET_SAR_ORIENTATION in [0, 1]  # north (0) or south (1)
115         if config.TRANSFORM.ALIGN_SAR_ORIENTATION:
--> 116             self.orientation_df = read_orientation_file(config.INPUT.SAR_ORIENTATION)
117             self.target_orientation = config.TRANSFORM.TARGET_SAR_ORIENTATION
118         else:
~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/utils.py in read_orientation_file(path)
12         index_col=0,
13         names=['strip', 'direction'],
---> 14         header=None
15     )
16     rotationdf['direction'] = rotationdf['direction'].astype(int)
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
603     kwds.update(kwds_defaults)
604
--> 605     return _read(filepath_or_buffer, kwds)
606
607
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
455
456     # Create the parser.
--> 457     parser = TextFileReader(filepath_or_buffer, **kwds)
458
459     if chunksize or iterator:
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
812             self.options["has_index_names"] = kwds["has_index_names"]
813
--> 814         self._engine = self._make_engine(self.engine)
815
816     def close(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1043             )
1044         # error: Too many arguments for "ParserBase"
-> 1045         return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]
1046
1047     def _failover_to_python(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1860
1861         # open handles
-> 1862         self._open_handles(src, kwds)
1863         assert self.handles is not None
1864         for key in ("storage_options", "encoding", "memory_map", "compression"):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _open_handles(self, src, kwds)
1361             compression=kwds.get("compression", None),
1362             memory_map=kwds.get("memory_map", False),
-> 1363             storage_options=kwds.get("storage_options", None),
1364         )
1365
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
642                 encoding=ioargs.encoding,
643                 errors=errors,
--> 644                 newline="",
645             )
646         else:
FileNotFoundError: [Errno 2] No such file or directory: '/work/static/SAR_orientations.txt'

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Here below is the config file out put:

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

and after running the updated file i am getting now the following error:

FileNotFoundError                         Traceback (most recent call last)
in
9     image_paths,
10     augmentation=augmentation,
---> 11     preprocessing=preprocessing
12 )
13

~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/spacenet6.py in init(self, config, image_paths, augmentation, preprocessing)
114 assert config.TRANSFORM.TARGET_SAR_ORIENTATION in [0, 1] # north (0) or south (1)
115 if config.TRANSFORM.ALIGN_SAR_ORIENTATION:
--> 116 self.orientation_df = read_orientation_file(config.INPUT.SAR_ORIENTATION)
117 self.target_orientation = config.TRANSFORM.TARGET_SAR_ORIENTATION
118 else:
~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/utils.py in read_orientation_file(path)
12 index_col=0,
13 names=['strip', 'direction'],
---> 14 header=None
15 )
16 rotationdf['direction'] = rotationdf['direction'].astype(int)
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
603 kwds.update(kwds_defaults)
604
--> 605 return _read(filepath_or_buffer, kwds)
606
607
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
455
456 # Create the parser.
--> 457 parser = TextFileReader(filepath_or_buffer, **kwds)
458
459 if chunksize or iterator:
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
812 self.options["has_index_names"] = kwds["has_index_names"]
813
--> 814 self._engine = self._make_engine(self.engine)
815
816 def close(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1043 )
1044 # error: Too many arguments for "ParserBase"
-> 1045 return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
1046
1047 def _failover_to_python(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1860
1861 # open handles
-> 1862 self._open_handles(src, kwds)
1863 assert self.handles is not None
1864 for key in ("storage_options", "encoding", "memory_map", "compression"):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _open_handles(self, src, kwds)
1361 compression=kwds.get("compression", None),
1362 memory_map=kwds.get("memory_map", False),
-> 1363 storage_options=kwds.get("storage_options", None),
1364 )
1365
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
642 encoding=ioargs.encoding,
643 errors=errors,
--> 644 newline="",
645 )
646 else:
FileNotFoundError: [Errno 2] No such file or directory: '/work/static/SAR_orientations.txt'

I have resolved this orientation.txt error.

Sorry, my notebook seems to be dated..
Please try:
from glob import glob
image_paths = glob(os.path.join(config.INPUT.TEST_IMAGE_DIR, "*.tif"))

preprocessing = get_preprocess(config, is_test=True)
augmentation = get_augmentation(config, is_train=False)

test_dataset = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=preprocessing
)

test_dataset_vis = SpaceNet6TestDataset(
    config,
    image_paths,
    augmentation=augmentation,
    preprocessing=None
)

Here below is the config file out put:

BOUNDARY_SUBSTRACT_COEFF: 0.2
BUILDING_MIM_AREA_PIXEL: 0
BUILDING_SCORE_THRESH: 0.5
CHECKPOINT_ROOT: /checkpoints
DATALOADER:
TEST_BATCH_SIZE: 8
TEST_NUM_WORKERS: 8
TRAIN_BATCH_SIZE: 14
TRAIN_NUM_WORKERS: 8
TRAIN_SHUFFLE: True
VAL_BATCH_SIZE: 12
VAL_NUM_WORKERS: 8
DUMP_GIT_INFO: False
ENSEMBLED_PREDICTION_ROOT: /ensembled_predictions
ENSEMBLE_EXP_IDS: []
EVAL:
EPOCH_TO_START_VAL: 100
MAIN_METRIC: iou/building_footprint
METRICS: ['iou']
EXP_ID: 17
INPUT:
BUILDING_DIR: /wdata/masks
CLASSES: ['building_footprint', 'building_boundary']
IMAGE_DIR: /data/train/AOI_11_Rotterdam
IMAGE_TYPE: SAR-Intensity
MEAN_STD_DIR: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/models/image_mean_std/
SAR_ORIENTATION: /work/static/SAR_orientations.txt
TEST_IMAGE_DIR: /media/ehsanirshad/Transcend/7-Building Detection/Test_Data/test_public/AOI_11_Rotterdam/SAR-Intensity
TRAIN_VAL_SPLIT_DIR: /wdata/split
TRAIN_VAL_SPLIT_ID: 2
LOG_ROOT: /work/models/logs
METHOD_TO_MAKE_POLYGONS: watershed
MODEL:
ACTIVATION: sigmoid
ARCHITECTURE: unet
BACKBONE: timm-efficientnet-b8
DEVICE: cpu
ENCODER_PRETRAINED_FROM: advprop
FPN_DECODER_DROPOUT: 0.2
IN_CHANNELS: 4
PSPNET_DROPOUT: 0.2
UNET_DECODER_CHANNELS: (256, 128, 64, 32, 16)
UNET_ENABLE_DECODER_SCSE: True
WEIGHT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/exp_0017/model_best.pth
POLY_CSV_ROOT: /polygons
POLY_OUTPUT_PATH: none
PREDICTION_ROOT: /predictions
SAVE_CHECKPOINTS: False
SOLVER:
EPOCHS: 260
FOCAL_LOSS_GAMMA: 2.0
LOSSES: ['dice', 'bce']
LOSS_WEIGHTS: [1.0, 1.0]
LR: 0.0001
LR_ANNEALING_ETA_MIN: 0.0
LR_ANNEALING_T_MAX: 260
LR_MULTISTEP_GAMMA: 0.1
LR_MULTISTEP_MILESTONES: [230]
LR_SCHEDULER: multistep
OPTIMIZER: adam
WEIGHT_DECAY: 0.0
TEST_TO_VAL: False
TRANSFORM:
ALIGN_SAR_ORIENTATION: True
TARGET_SAR_ORIENTATION: 0
TEST_SIZE: (928, 928)
TRAIN_HORIZONTAL_FLIP_PROB: 0.0
TRAIN_RANDOM_BRIGHTNESS_PROB: 1.0
TRAIN_RANDOM_BRIGHTNESS_STD: 0.0
TRAIN_RANDOM_CROP_SIZE: (256, 256)
TRAIN_RANDOM_ROTATE_DEG: (0, 0)
TRAIN_RANDOM_ROTATE_PROB: 1.0
TRAIN_SPECKLE_NOISE_PROB: 1.0
TRAIN_SPECKLE_NOISE_STD: 0.0
TRAIN_VERTICAL_FLIP_PROB: 0.0
WATERSHED_MAIN_THRESH: 0.3
WATERSHED_MIN_AREA_PIXEL: 80
WATERSHED_SEED_MIN_AREA_PIXEL: 20
WATERSHED_SEED_THRESH: 0.7
WEIGHT_ROOT: /home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/weights/

and after running the updated file i am getting now the following error:

FileNotFoundError                         Traceback (most recent call last)
in
9     image_paths,
10     augmentation=augmentation,
---> 11     preprocessing=preprocessing
12 )
13

~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/spacenet6.py in init(self, config, image_paths, augmentation, preprocessing)
114 assert config.TRANSFORM.TARGET_SAR_ORIENTATION in [0, 1] # north (0) or south (1)
115 if config.TRANSFORM.ALIGN_SAR_ORIENTATION:
--> 116 self.orientation_df = read_orientation_file(config.INPUT.SAR_ORIENTATION)
117 self.target_orientation = config.TRANSFORM.TARGET_SAR_ORIENTATION
118 else:
~/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/spacenet6_model/datasets/utils.py in read_orientation_file(path)
12 index_col=0,
13 names=['strip', 'direction'],
---> 14 header=None
15 )
16 rotationdf['direction'] = rotationdf['direction'].astype(int)
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
603 kwds.update(kwds_defaults)
604
--> 605 return _read(filepath_or_buffer, kwds)
606
607
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
455
456 # Create the parser.
--> 457 parser = TextFileReader(filepath_or_buffer, **kwds)
458
459 if chunksize or iterator:
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, f, engine, **kwds)
812 self.options["has_index_names"] = kwds["has_index_names"]
813
--> 814 self._engine = self._make_engine(self.engine)
815
816 def close(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1043 )
1044 # error: Too many arguments for "ParserBase"
-> 1045 return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
1046
1047 def _failover_to_python(self):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in init(self, src, **kwds)
1860
1861 # open handles
-> 1862 self._open_handles(src, kwds)
1863 assert self.handles is not None
1864 for key in ("storage_options", "encoding", "memory_map", "compression"):
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/parsers.py in _open_handles(self, src, kwds)
1361 compression=kwds.get("compression", None),
1362 memory_map=kwds.get("memory_map", False),
-> 1363 storage_options=kwds.get("storage_options", None),
1364 )
1365
~/anaconda3/envs/solaris/lib/python3.7/site-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
642 encoding=ioargs.encoding,
643 errors=errors,
--> 644 newline="",
645 )
646 else:
FileNotFoundError: [Errno 2] No such file or directory: '/work/static/SAR_orientations.txt'

I have resolved this orientation.txt error.

config.INPUT.SAR_ORIENTATION="/home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/static/SAR_orientations.txt"
I have put the above line and cell get successfully ran. Now try to run another cells. Thank you

config.INPUT.SAR_ORIENTATION="/home/ehsanirshad/Downloads/SpaceNet_SAR_Buildings_Solutions-master/4-motokimura/tmp/work/static/SAR_orientations.txt"
I have put the above line and cell get successfully ran. Now try to run another cells. Thank you


[abucoins, coinbase, core] fixes, new features and some clean up

@timmolter not quite sure why there are failing tests.  Got a weird error:
Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org/powermock/core/classloader/MockClassLoader cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl

looks like tmfm with powermock ;-)


Many tutorials are badly broken, Loaders for starters.

System Info
I'm trying to do the tutorials and there are many things that aren't correct. One that is a blocker preventing me from learning Retrieval is the fact that it seems like all document loaders are... gone? The tutorial tells you to use TextLoader, JsonLoader, and WebBaseLoader... and this is impossible.

TextLoader, doesn't exist.
JsonLoader, doesn't exist.
WebBaseLoader, doesn't exist.

I want to use the package but I can't use the package if I can't learn the package.
See for yourself. The only place TextLoader appears in the scope is in my tutorial file and one doc comment for SummarizeChain():

JsonLoader() only appears in my file:

WebBaseLoader has one doc comment in the mapReduce method in summarize.dart, plus my file:

When I ran down the BaseDocumentLoader, it's an abstract class that apparently is unused.

Related Components

[X] doc-loaders
[ ] doc-transformers
[ ] prompts
[ ] llms
[ ] chat-models
[ ] output-parsers
[ ] chains
[ ] memory
[ ] stores
[ ] embeddings
[ ] retrievers
[ ] agents

Reproduction
Use the tutorial code at:

https://langchaindart.dev/#/modules/retrieval/document_loaders/how_to/text
https://langchaindart.dev/#/modules/retrieval/document_loaders/how_to/json
https://langchaindart.dev/#/modules/retrieval/document_loaders/how_to/web

Expected behavior
The code should not have errors.

Hey @ScottS2017,
All loaders are now in langchain_community package.
It was part of the breaking changes introduced in v0.5.0:
https://github.com/davidmigloz/langchain_dart/discussions/374
I need to go through all the docs as many tutorials as outdated, but I cannot promise when (any help is appreciated).

By the way, GitHub search is normally a good friend 🙂

For an up-to-date example about RAG, I recommend you check the
wikivoyage_eu example app

Sounds good David, thanks. I wish knew enough about the subject to be helpful but at the moment all I will be able to do is point out pain points for learnings. Just think of me as an unpaid Developer Advocate collecting pain points for the engineering team 😆

Thanks @ScottS2017, valuable feedback is already a good contribution 🙂

@davidmigloz what do you think if we ported the tutorials to docusaurus.io? I can assist with moving the docs there and trying to have it match the https://python.langchain.com/ docs.

Hey @bettdouglas, if you could help with that that would be great!
It was actually in my mind to eventually migrate to docusaurus.io to follow the same structure as the official docs (I should have done that from the beginning... docsify is not actively maintained anymore).
LangChain (the company) also did a big redesign of the official docs recently. They are now following diataxis.fr as their documentation methodology. So moving to their new structure will also be beneficial.

I've created a new issue for the migration, we can discuss it there. If you comment on the issue, I can assign it to you 🙂
Thanks for offering your help, I really appreciate it!

Thanks for sharing the link about diataxis.fr. It'll be great learning how to create better documentation using diataxis.


jackal: 1.0.1-1 in 'foxy/distribution.yaml' [bloom]

Increasing version of package(s) in repository jackal to 1.0.1-1:

upstream repository: https://github.com/jackal/jackal.git
release repository: https://github.com/clearpath-gbp/jackal-release.git
distro file: foxy/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.0.0-1

jackal_control
* [jackal_control] Fixed wrong dependency.
* Contributors: Tony Baltovski

jackal_description

No changes

jackal_msgs

No changes

jackal_navigation

No changes

Holding for Foxy sync


[Feature] Adapter-specific security advice in docs?

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-bigquery functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Add a section to BigQuery adapter docs on recommended security practices
Describe alternatives you've considered
None
Who will this benefit?
All users of dbt on BigQuery
Are you interested in contributing this feature?
I have written a piece on VPC service controls that might be helpful
Anything else?
https://tempered.works/posts/2024/07/06/preventing-data-theft-with-gcp-service-controls/

Thanks @brabster!
Are you imagining that this section would live in the docs on "BigQuery configurations"? https://docs.getdbt.com/reference/resource-configs/bigquery-configs

Sounds good I'm going to transfer this issue over to the docs repository, since that's where the changes would need to happen. You're welcome to open a PR against that repo proposing the new section.


How to use it with listview?

I wnt to make searchable listview but it really confussing how to make it

Hi @RayhanYulanda
First of all, I am sorry for the delay.
The situation in my company (in France) with the Covid-19 has forced us to put our open source projects on the side for a moment... But I am back ! :)
I am not sure about what you mean by searchable listview.
But, is it a ListView in which you may search fort particular item ? It it is so, flappy_search_bar is not really the perfect widget for you I think.
flappy_search_bar is more useful for http searchs.
But you could do something like this (this more like a hack than a really good answer, because the best answer is that this is not the right package to do what you meant) :

Create a List of items that you give as suggestions parameter
When searching, you just have to filter this list !

The issue will be about the "loading" widget but that is the best you can do with flappy_search_bar I think, if I understood well your request.
I'll try to be more present on this package, despite the difficult context that had lead us to change a lot the way we work here, sorry again for the delay :)

Hey, it's a wonderful package and I want to use it for my application.
I have one problem though. Since the function onItemFound builds a listView whose length depends on the length of the string the user types or enters in onSearch named parameter.
I want to know if we can change it somehow, I mean what I want to achieve is when a the user will type something, I will attach that string to an API that will give me some results.
Let's say due to that particular string the API gave me a list of length 25.
So can we override that onItemFound listView length with this?
Thanks in advance

Hi @ThomasEcalle
I'm using ListView with Card ( the card contain information of user posts, user name, post title .... )  all saved on FireStore
and I would lile to add Search bar on top of ListView ( seach post by user name, post by title ... )
do you suggest to use flappy_search_bar to do this ? if yes do you have any sample ?
I'm confussing after reading you last comment ( But, is it a ListView in which you may search fort particular item ? It it is so, flappy_search_bar is not really the perfect widget for you I think. )
Thanks


Update use-group-policy.md

Auto start service required to enable Files On-Demand.

@kaarins Hi Kaarin, could you please confirm changes are correct? If yes, please merge. Thanks!


Board documentation changes

Rename files to index.rst and modfiy intro for some boards.
Also change CI scripts not build the world because we changed some board documentation.

Cool, and lots of work to edit these.  This would also be a good time to change either the board folder names or the titles on the board docs so they sort correctly.  If you look at the supported boards page  you'll notice they're sorted by the folder name and displayed by title.  Because the folder name and titles are different the sort order looks weird.  For example, SAM D20 Xplained Pro Evaluation Kit is in a folder named atsamd20_xpro so it sorts in the A's but the doc title starts with an S.  This one is in a folder named for the ARM chip on the board and should be a folder named for the board.

This would also be a good time to change either the board folder names or the titles on the board docs so they sort correctly.

lets not worry about the sorting now, I have other plans, this is just first in something bigger coming.

Codecov Report

Merging #13216 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13216   +/-   ##
=======================================
  Coverage   48.75%   48.75%
=======================================
  Files         319      319
  Lines       46871    46871
  Branches    10835    10835
=======================================
  Hits        22850    22850
  Misses      19394    19394
  Partials     4627     4627

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d942c1d...f4e42cc. Read the comment docs.


[ALLUXIO-1622] Remove UnderFileSystemCluster#readEOFReturnsNegative

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8824/
Test PASSed.

@leohjwang I left some minor comments.
Thanks for the patch.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8834/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8850/
Test PASSed.

@apc999 updated per your comments

+1 LGTM
thanks for the improvement!


Cannot import Editor from novel bug:

Provide environment information
made a fresh next.js project and installed novel with
npm i novel
Describe the bug
I wanted to try out novel and followed the starter guide:
novel
As mentioned, I have  npm i novel  needed to install. Also i have added the code :
import { Editor } from "novel";

export default function Home() {
  return (
    <main className="min-h-screen">
      <Editor/>
    </main>
  );
}

but now I get this error:

can someone help me with that error?
Greetings Luke
Link to reproduction
https://github.com/Luke849/digital-creator
To reproduce
As I said, I did everything as in this tutorial:
novel
Additional information
No response

Docs are old. Clone the repo to see working example.


MTC demo.launch.py fails: "Could not find parameter robot_description_semantic and did not receive robot_description_semantic"

Description
Robot doesn't move, I see some commands return errors about robot_description_semantic not found (see backtrace section for more detail).
[ERROR] [1688119422.476022134] [mtc_tutorial]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds.
Error:   Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0
         at line 715 in ./src/model.cpp
[ERROR] [1688119422.483492983] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF
[ERROR] [1688119422.483810295] [moveit_task_constructor.task]: Cartesian Path: received invalid robot model

Btw not sure if related though, ros2 param list hangs and never returns (similar to https://github.com/ros2/ros2cli/issues/713 and answers.ros.org#408842/ros2-param-cli-hangs/, adding RMW_IMPLEMENTATION=rmw_cyclonedds_cpp doesn't help).
Your environment

ROS Distro: Rolling
OS Version: e.g. Ubuntu 22.04
Source build but provided by moveit/moveit2:humble-source Docker img$ docker images
REPOSITORY                                     TAG                           IMAGE ID       CREATED         SIZE
moveit/moveit2                                 rolling-release               79982408a583   3 days ago      3.22GB

If source, which git commit or tag?~/ws_moveit/src/moveit_task_constructor# git log -1
commit a0befc5b75e2344831d0ecd2f3d5ca88d7e7718e (HEAD -> ros2, origin/ros2)
Author: Mario Prats<EMAIL_ADDRESS>Date:   Wed Mar 22 07:15:13 2023 -0700

    Remove redundant semicolon to silent compiler warning (#448)

~/ws_moveit/src/moveit2# git log -1
commit dc7643502adbeaa41dfd370605460cfd45f26b7f (grafted, HEAD -> main, origin/main)
Author: V Mohammed Ibrahim<EMAIL_ADDRESS>Date:   Thu Apr 27 18:49:38 2023 +0530

Steps to reproduce
Tutorial page: Pick and Place with MoveIt Task Constructor (moveit.picknik.ai)
$ DOCKER_IMAGE=rolling-tutorial docker compose -f docker-compose_moveit2-tutorials.yml run --rm --name moveit2_container gpu

term-1# ros2 launch moveit_task_constructor_demo demo.launch.py
term-2# ros2 run moveit_task_constructor_demo cartesian
term-3# ros2 run moveit_task_constructor_demo modular
term-4# ros2 launch moveit_task_constructor_demo pickplace.launch.py

Expected behaviour
Robot moves as in the gif anime
Backtrace or Console output
Output of moveit_task_constructor_demo cartesian
root@130s-p16s:~/ws_moveit# source /opt/ros/rolling/setup.bash
root@130s-p16s:~/ws_moveit# ros2 run moveit_task_constructor_demo cartesian
[ERROR] [1688119422.476022134] [mtc_tutorial]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds.
Error:   Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0
         at line 715 in ./src/model.cpp
[ERROR] [1688119422.483492983] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF
[ERROR] [1688119422.483810295] [moveit_task_constructor.task]: Cartesian Path: received invalid robot model
[ERROR] [1688119422.483856018] [moveit_exceptions.exceptions]: Task failed to construct RobotModel
Exception thrown.
terminate called after throwing an instance of 'moveit::Exception'
  what():  Task failed to construct RobotModel
Stack trace (most recent call last):
#13   Object "", at 0xffffffffffffffff, in
#12   Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/cartesian", at 0x55836fa9f8c4, in _start
#11   Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f7c5d02de3f, in __libc_start_main
#10   Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f7c5d02dd8f, in
#9    Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/cartesian", at 0x55836fa9f5cf, in main
#8    Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/cartesian", at 0x55836faa0193, in createTask(std::shared_ptr<rclcpp::Node> const&)
#7    Object "/root/ws_moveit/install/moveit_task_constructor_core/lib/libmoveit_task_constructor_core.so", at 0x7f7c5d987abe, in moveit::task_constructor::Task::loadRobotModel(std::shared_ptr<rclcpp::Node> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold]
#6    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f7c5d2fc517, in __cxa_throw
#5    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f7c5d2fc2b6, in std::terminate()
#4    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f7c5d2fc24b, in
#3    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f7c5d2f0bbd, in
#2    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f7c5d02c7f2, in abort
#1    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f7c5d046475, in raise
#0    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f7c5d09aa7c, in pthread_kill
Aborted (Signal sent by tkill() 737 0)
[ros2run]: Aborted

Output of moveit_task_constructor_demo modular
# ros2 run moveit_task_constructor_demo modular
[ERROR] [1688119476.072322649] [mtc_tutorial]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds.
Error:   Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0
         at line 715 in ./src/model.cpp
[ERROR] [1688119476.080499193] [moveit_rdf_loader.rdf_loader]: Unable to parse SRDF
[ERROR] [1688119476.080844973] [moveit_task_constructor.task]: task pipeline: received invalid robot model
[ERROR] [1688119476.080880375] [moveit_exceptions.exceptions]: Task failed to construct RobotModel
Exception thrown.
terminate called after throwing an instance of 'moveit::Exception'
  what():  Task failed to construct RobotModel
Stack trace (most recent call last):
#13   Object "", at 0xffffffffffffffff, in
#12   Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/modular", at 0x555f2dcf9714, in _start
#11   Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f45b9ea8e3f, in __libc_start_main
#10   Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f45b9ea8d8f, in
#9    Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/modular", at 0x555f2dcf941f, in main
#8    Object "/root/ws_moveit/install/moveit_task_constructor_demo/lib/moveit_task_constructor_demo/modular", at 0x555f2dcfb620, in createTask(std::shared_ptr<rclcpp::Node> const&)
#7    Object "/root/ws_moveit/install/moveit_task_constructor_core/lib/libmoveit_task_constructor_core.so", at 0x7f45ba647abe, in moveit::task_constructor::Task::loadRobotModel(std::shared_ptr<rclcpp::Node> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold]
#6    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f45ba175517, in __cxa_throw
#5    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f45ba1752b6, in std::terminate()
#4    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f45ba17524b, in
#3    Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7f45ba169bbd, in
#2    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f45b9ea77f2, in abort
#1    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f45b9ec1475, in raise
#0    Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7f45b9f15a7c, in pthread_kill
Aborted (Signal sent by tkill() 752 0)
[ros2run]: Aborted

Whoops I'm using rolling one, not humble.
moveit/moveit2                                 rolling-release               79982408a583   3 days ago      3.22GB

Sorry again, Docker image must be this:
ghcr.io/ros-planning/moveit2_tutorials         rolling-tutorial              1f31cb226e89   2 months ago    4.68GB


War scythe missing

War scythe needs to be added to table for reaper weapons

There is no weapon in Elden Ring called "war scythe".
If you're using a mod that adds that weapon, check the dropdown in the top left to see if it's supported. Otherwise, let me know what mod and I can look into adding support.


the progress bar narrows

from Leon12345 on forum (https://playnite.link/forum/thread-309-post-2450.html#pid2450)
When it starts with playnite, it looks fine like this

but each time I select another game, the bar keeps getting smaller, and ends up looking like this

I have the same issue after plugin update.
I uninstall the plugin, remove all plugin data from %AppData%\playnite\ExtensionsData and install plugin again. This helps for me.


lxc cannot push file

Required information

Distribution: MANJARO
Distribution version:
The output of "lxc info" or if that fails:

Kernel version: 5.6.3-2-MANJARO
LXC version: 4.0.0
LXD version: 4.0.0
Storage backend in use: btrfs

Issue description
I run next command
lxc file push /mnt/work/backups/lxd/backup_lxd_04.04.2020_1344.tar.zst jupyter/home/jupyter

After copying the file complete I get the Error:
Pushing /mnt/work/backups/lxd/backup_lxd_04.04.2020_1344.tar.zst to jupyter/home/jupyter: 100% (1.91GB/s)
Error: Path already exists as a directory: File too large

jupyter it is identification of the container and container user which have dir /home/jupyter
File which I copy have size 441MB. The container use root disk which use pool hddpool:
lxc config show jupyter --expanded

...
devices:
  eth0:
    ipv4.address: <IP_ADDRESS>
    name: eth0
    nictype: bridged
    parent: lxdbr0
    type: nic
  hostfs:
    path: /mnt/hostfs
    source: /home/dv/projects/python/notebooks
    type: disk
  root:
    path: /
    pool: hddpool
    type: disk

The storage pool have space:
xc storage info hddpool
info:
  description: ""
  driver: btrfs
  name: hddpool
  space used: 836.31MB
  total space: 10.00GB
used by:
  containers:
  - jupyter
  images:
  - ebd565585223487526ddb3607f5156e875c15a89e21b61ef004132196da6a0a3
  profiles:
  - hddroot

Why I cannot copy file to container when storage  pool have enough free space?
lxc info jupyter

Name: jupyter
Location: none
Remote: unix://
Architecture: x86_64
Created: 2020/04/17 09:08 UTC
Status: Running
Type: container
Profiles: default, hddroot
Pid: 212299
Ips:
  eth0: inet    <IP_ADDRESS>       veth7b6c89b7
  eth0: inet6   fe80::216:3eff:fe37:c357        veth7b6c89b7
  lo:   inet    <IP_ADDRESS>
  lo:   inet6   ::1
Resources:
  Processes: 5
  Disk usage:
    root: 801.28MB
  CPU usage:
    CPU usage (in seconds): 1325
  Memory usage:
    Memory (current): 90.60MB
  Network usage:
    eth0:
      Bytes received: 92.40MB
      Bytes sent: 1.87MB
      Packets received: 62433
      Packets sent: 26394
    lo:
      Bytes received: 0B
      Bytes sent: 0B
      Packets received: 0
      Packets sent: 0

Try lxc file push /mnt/work/backups/lxd/backup_lxd_04.04.2020_1344.tar.zst jupyter/home/jupyter/

The error is the funny way the kernel has to tell you it can't replace a directory with stuff in it by a file.

The error is the funny way the kernel has to tell you it can't replace a directory with stuff in it by a file.

Now the lxc copy file without errors. It my mistake, I do not added slash to end :) Thanks!

I close issue because my problem resolved. Thanks!


[Automated workflow] upgrade-unity from 2022.2.18f1 to 2022.2.19f1

[Automated Workflow] Upgrade unity to 2022.2.19f1

workflow file using create-pull-request & render-template

Built version demos

https://deml.io/experiments/unity-webgl/2022.2.19f1-webgl2
https://deml.io/experiments/unity-webgl/2022.2.19f1-webgl1

Other links

All builds
Game CI docker images
Unity Download Archive

Builds fail wit unannounced version 2022.2.17f1, see further discussion https://forum.unity.com/threads/2022-2-19f1-webgl-fails-to-build-when-enables-exceptions-is-set-to-none.1435531/#post-9015367


Pin Viewer is unable to show GPIO 23, 24, 25, 29

Prerequisites
Please check the following before posting an issue / bug report.

[X] I am running the latest version of the firmware found HERE
[X] I have checked the documentation HERE and found no answer
[X] I checked to make sure that this issue has not already been filed HERE
[X] I am reporting the issue to the correct repository

Context

Firmware Version: GP2040-CE_0.7.7_RP2040AdvancedBreakoutBoardUSBPassthrough.uf2
Name of device: RP2040 Advanced Breakout Board Version 5.5e Passthrough Edition
Link to where you purchased the device: JLCPCB
Is this a custom build?: No
Operating System: Windows 11
Browser: Google Chrome

Expected Behavior
When using the Pin Viewer function at http://<IP_ADDRESS>/pin-mapping I expect the pin viewer to confirm whenever a GPIO pin connects to ground/a button is pressed.
Current Behavior
When using the Pin Viewer function, the pin viewer displays the pin corresponding to the pressed button, except for GPIO 23, 24, 25, and 29. For each of those four pins, the pin viewer times out waiting for an input and it appears that any button presses occurring on those pins simply do not register.
Steps to Reproduce

Move the USB slide switch from "USB" to "Options"
Connect wires to a known working button, wire the button to G and 23.
Navigate to the Web Configuration tool, pin mapper, then press the pin viewer button.
When prompted for a button press, press the button connected to G and 23. The pin viewer will not respond and will eventually time out.
Assign an input to Pin 23, e.g., "up", save, and reboot in controller mode.
Navigate to a gamepad tester.
Press the button and watch as the pin delivers the desired input notwithstanding that the pin viewer was unable to detect it.

Repeat the steps above for pins 23, 24, 25 (with the LED slide switch configured correctly), and 29.
Screenshots & Files
Video of the pin mapper failing to register on Pin 23: https://cdn.discordapp.com/attachments/1049370387563163731/1212664412083716107/Pin_viewer_failure.mp4?ex=65f2a8be&is=65e033be&hm=01bc576ea0be3e621fa0347b5da4405ee5b4e538a93b1cfb24b62851dad12e42&
Video of the button press succeeding notwithstanding that the pin is invisible to the Pin Viewer:
https://cdn.discordapp.com/attachments/1049370387563163731/1212664506820329492/Button_press_success.mp4?ex=65f2a8d4&is=65e033d4&hm=52705a5b0dfbd714d712e0f3c0bd175e10332740a8fd4c997bb14f95b5905105&

@CapnHawke are all of those pins assigned to addons elsewhere in the config?

@CapnHawke are all of those pins assigned to addons elsewhere in the config?

At the time I originally found this issue, I had pin 23 and 24 used by the USB Host.
As to pin 25, I am unsure how to best answer the question. Pin 25 looks to be mapped to the On-Board LED in the add-on configuration menu.  I have not found a way to select any other pin, or to release the pin assigned to that function. Unlike other add-ons, there is not a field available to enter a pin number. I first experienced this issue nine days ago, and I do not remember whether I was experiencing it at a time when the On-Board LED addon was enabled or disabled. So I tested again today.
Pin 29 was not and never has been mapped to an add-on while experiencing this issue.
Today's test:

Flash Nuke
Install new instance of GP2040-CE_0.7.7_RP2040AdvancedBreakoutBoardUSBPassthrough.uf2
Navigate to web config
Test pin mapper, confirm that 23, 24, 25, 29 are not detected.
Navigate to USB Host configuration field, assign pin to -1.
Disable USB Host.
Test pin mapper, confirm that 23, 24 continue to be undetected.
Verify that the On Board LED in add-ons is disabled.
Test pin mapper, confirm that 25 is undetected.
Test pin 29, confirm that it is undetected by the pin mapper.
Search through add-ons to confirm that pin 29 is not assigned to anything. (as expected in a fresh instance of the firmware)
Just for fun and information searching, map pin 29 to turbo.
Test pin 29. It is still undetected by the pin mapper.

If you reboot the webconfig mode after step 6, does that make 23 and 24 work in the pin mapper?

Just ran through the steps from the beginning, saved, and rebooted into web config after step 6. Pin viewer still does not show these pins.
To be clear, the pins do function.

Odd, but we'll continue to investigate.

I have an update on this, isolating the issue.

Flash Nuke
Install fresh instance of 0.7.7 firmware
Navigate to Web Config.
Click Pin Viewer, and test pins 23, 24, 25, and 29. Observe that they are not detected, the Pin Viewer times out.
Disable addons using pins 23, 24, and 25.
Map inputs to pins 23, 24, 25, and 29. It doesn't seem to matter what. Could be DDI directions, could be B1-B4.
Save.
Restart Board in web config mode.
Test pin viewer, and observe that pins 23, 24, 25, and 29 are detected by the pin viewer.
Remove the mapped inputs on 23, 24, 25, and 29, assigning them to "none."
Save.
Restart board in web config mode.
Test pin viewer, and observe that pins 23, 24, 25, and 29 are once again not detected by the pin viewer.

It appears that the pin viewer is unable to detect pins 23, 24, 25, and 29, when they are not mapped to a function in the pin viewer. However, the pin viewer is able to detect other unmapped pins. For example, pins 26, 27, 2, and 3 can all be detected even when they have no assignment to any function.

those pins are not useable it seems 23,24,25

those pins are not useable it seems 23,24,25
perhaps its better to grey them out in the mapping tool

Thank you for your interest but this is not the hardware being discussed. The PCB in question is designed differently and can access those pins.

those pins are not useable it seems 23,24,25
perhaps its better to grey them out in the mapping tool

Thank you for your interest but this is not the hardware being discussed. The PCB in question is designed differently and can access those pins.

I wanted to add more buttons to my hitbox, thinking 23,24,25 are available, but they are not.
after looking into it for a while led me to this:
https://github.com/pinout-xyz/pico.pinout.xyz/issues/13
from the schematics posted there, GPIO23,24,25,29 all have hardware purpose and are thus wired differently for their purpose,
might not be related to your problem, but seems like too big of a coincidence
the current firmware shows these pins as customisable, but thats most likely not true as you won't be able to connect a button to them

I wanted to add more buttons to my hitbox, thinking 23,24,25 are available, but they are not.
after looking into it for a while led me to this:
https://github.com/pinout-xyz/pico.pinout.xyz/issues/13
from the schematics posted there, GPIO23,24,25,29 all have hardware purpose and are thus wired differently for their purpose,
might not be related to your problem, but seems like too big of a coincidence
the current firmware shows pin 25 as customisable, rest as addons, but thats most likely not true as you won't be able to connect a button to 25

You may simply need a different PCB. The schematic for the PCB being discussed in this issue is pictured here.

The buttons which have been mapped to these pins function just fine. They also show up in the pin viewer after they have been assigned to an input. The sole issue is that while these pins are not assigned, they are not visible to the pin viewer while other pins are.

I wanted to add more buttons to my hitbox, thinking 23,24,25 are available, but they are not.
after looking into it for a while led me to this:
pinout-xyz/pico.pinout.xyz#13
from the schematics posted there, GPIO23,24,25,29 all have hardware purpose and are thus wired differently for their purpose,
might not be related to your problem, but seems like too big of a coincidence
the current firmware shows pin 25 as customisable, rest as addons, but thats most likely not true as you won't be able to connect a button to 25

You may simply need a different PCB. The schematic for the PCB being discussed in this issue is pictured here.

The buttons which have been mapped to these pins function just fine. They also show up in the pin viewer after they have been assigned to an input. The sole issue is that while these pins are not assigned, they are not visible to the pin viewer while other pins are.

I am only using the standard pico board

from its documentation, the pins you are having problems with are listed as internal use
i can't find the wiring diagam for the breakout board, thus cannot confirm if they share these uses

found it, 25 is the LED the rest are OPTIONS
don't know what they are for tho

found it, 25 is the LED the rest are OPTIONS
don't know what they are for tho

GPIO 25 can be used for other things too. I suggest we leave the "issue" alone and you can join the GP2040-CE discord if you are interested in learning more about what your basic pico can do, and what the RP2040 Advanced Breakout Board (and its revisions) can do. The capabilities of these boards are maybe a discussion better had somewhere else. Same with your controller.
https://discord.gg/openstickcommunity-1049366310389289001


Steam foil mode is not working.

Hey,
The foil mode is not working....currently its sending 5 sets of a game just like the normal cards when I ask for !buytf 1
"Bot sent you a new trade offerHere are {SETS} cards set(s) in exchange for {TF} Key(s). View trade offer"
and do you have the buying system like 14.5 sets for 1 key ?

It is not possible to use rates with decimal numbers.

Did you set this to true in your settings?

Yes, It's true.
The problem is that it sends 5 sets of a game just like the normal sets.

It is not possible to use rates with decimal numbers.

then how are they using it ?

Yes, It's true. The problem is that it sends 5 sets of a game just like the normal sets.

I see that you have fixed the sets name in trade comment.......but it is still sending the 5 sets of each game in foil mode.

also the !check amount is counting 5 sets of a game instead of 1 in FOIL mode.

Making the changes to make it work this way would be quite difficult. So I made another script for just foil cards. Anyway I think the !CHECKONE and !BUYONE commands do what you need.
https://github.com/Luc4sguilherme/Steam-foil-levelup-BOT

thank you so much for your afford.
can you send your trade offer link ?
I wanna give a little gift only if the new script works well.


User Context

Is there some way to give the user Context?
I can't seem to find anyway to get context into the transaction function.
It would be nice to have some kind of context for the Scenario,Transaction and User.
To explain my problem:
I want to load test an API, to make the request the API takes some parameters that can't be generated, but need to be picked from a pool of options. This pool is about 200k lines in a csv but it is problematic to open the file in every transaction, especially when it would end up with multiple hundred/thausand open files on the system so it would be nice to give the scenario the pool or each user an option etc.

There's a variety of methods you could use. For your specific use-case, you may want to explore setting a OnceCell prior to invoking GooseAttack::initialize which you can then read within specific transactions when needed.
You could also a session if you need per-user customizations.

Thx. Seems like I overlooked it

Great! Feel free to re-open this, or open a new issue if you run into problems implementing it.


Client Allocation Request for: 上海华仓通信技术有限公司

Client Allocation Questions
Core Information

Name: 上海华仓通信技术有限公司
Website / Social Media: http://www.hctxcenter.com/
DataCap Requested: 5TiB
Addresses to be Notarized: f1avrtsb3pr27qjlmorekd7qtz23hl2scm5mua4sq
Notary Requested: philippbanhardt

Hey @hongzhu616 - thanks for your request. Can you kindly add more information / context here on:

yourself , e.g. include links to social media / news mentions etc
your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc
type, size and source of the data you (and by extension other Discover participants) are looking to store on Filecoin, e.g. public data vs private data etc
your relationship with the data, especially with regard to copyright
how you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

Thanks

Hey @hongzhu616 - thanks for your request. Can you kindly add more information / context here on:

yourself , e.g. include links to social media / news mentions etc
your history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time etc
type, size and source of the data you (and by extension other Discover participants) are looking to store on Filecoin, e.g. public data vs private data etc
your relationship with the data, especially with regard to copyright
how you intend to store the data on Filecoin, e.g. redundancy, location / miner preferences, etc

Thanks


Fixes

I corrected some small style "errors" (if I can say), and some un-used imports.

Looks very good to me ! :) Thanks !


[diffbot] Set default for use_mock_hardware

ros2 launch ros2_control_demo_example_2 view_robot.launch.py was broken, because argument use_mock_hardware wasn't set.

@mergifyio backport humble


Set up CI with Azure Pipelines

just sample CI pipe

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: pawel-zolty sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Added from_sorted_iter to fix #69

As explained in #69 in my current use case ~65% of the time is spent doing binary searches when inserting values in the bitmap.
I always have sorted values, therefore the binary search can be skipped.
For this reason, I implemented the following methods for both bitmaps.

push add the new "max" to the set.
append take an iterator of sorted values (all bigger than the max of the set) and add them to the set.
from_sorted_iter creates a set from an iterator of sorted values.

I tried choosing self-explaining names for the methods but I'm not married to them and open to changes.
In order to assure that the values are actually sorted I inserted two asserts in the push method.

Hey @zommiommy,
I am the new maintainer of this repository and wanted to make sure that merging or testing this PR works correctly, I just updated the CI and the bors settings, so could it be possible that you rebase on master please? (don't forget to pull master before rebasing 😄)

Hi, thanks a lot! In a couple of hours max I'll be able to do work on it. Could you explain to me what rebasing on master means? I'm pretty new to pull-requests 😅 Thanks for the patience.

No worries, take your times there is no rush at all ;)
Rebasing means pulling the master branch of this repository and remapping your list of commits that are part of this PR on top of master, this way your PR will contains the new CI and bors settings.
Here is a simple tutorial, but don't hesitate to @ me if you need help.

Is this okei?
Moreover, I can't seem to accept your suggestion for the inherent.rs file

Thanks to you for your patience!

I will probably bump and release a next version when #68 is merged.


Would package be the replacement for caxa

Hello,
Would package be the replacement for caxa? Is version 2 released here ready to be used? Following the instructions to run npx package didn't work for me so best to have some tests and example workflows for the same.

Well, I wonder if "package" ever was meant to be a replacement for caxa. Apparently it does nothing that can't be done with less than 5 minute shell scripting.
No offence, but there's a lot of features missing to use it for "packaging", and I don't mean the binary wrapper. Even the temporary copy has to be done before.
At least so far, "package" has a complete other purpose than caxa, which is (of course) disappointing, since caxa was said to be "migrated".

#15 adds the missing crucial features from caxa. It should make it easier to migrate.

Hello y’all,
Yes, @radically-straightforward/package is different from caxa.
It’s true that it can be reproduced with a bit of shell scripting, and that’s the beauty of it: It took me years of playing around with more complex approaches to get here. For one thing, I don’t recommend the “self-contained executable” approach: it’s riddled with issues.
In any case, I don’t plan on supporting caxa anymore, but it’s perfectly functional, so feel free to take over that effort 🤗

@leafac I am interested in maintaining caxa. Could you un-deprecate the package and add me as a maintainer to the repository?
https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions

Hi @aminya,
I love that you’ll bring the original idea of caxa back to life.
Please fork caxa and rename the project. I prefer that to undeprecating, because users will make the conscious decision of opting into a new project with a new maintainer.
And please keep me posted of how to goes. I’d love to see where you take my idea 🤗


feat(agent): Add indexing config

copilot:all

Current dependencies on/for this PR:

main

PR #4386   👈

This comment was auto-generated by Graphite.


IGAPP-XX add docs how to create a release build

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Should we create a task for this issue?

Should we create a task for this issue?


add grpc to the UI

as a check box at least

almost there, left over #168

it's quite good enough for a start - thank you !


helm,docs: Add client rate limit helm values

This PR adds the helm values for the client rate limit feature. This makes it easier for users to tune the client rate limit which is necessary for L2 announcements to work properly.
Added warnings about client rate limits and sizing instructions to the L2 announcements documentation.
This doesn't fully address #26586 since we are putting an additional burden on the user, but should provide a half decent workaround for the v1.14 release which gives us time to come up with a permanent more user friendly fix.
Add helm values for K8s API server client rate limits and instructions on how to size them when using L2 announcements.

/test


Add version to llama_cpp

I'm trying to add support for llama_cpp but I would like to be able to check the version in Python, in a common way:
import llama_cpp
print(llama_cpp.__version__)

I can send a pull request that:

adds a version file in the llama_cpp folder;
lets you run the code above successfully;
updates the setup.py automatically when building;
adds a test to check if the version exists.

I have some options for updating the pyproject.toml in a similar fashion. But would love to get your feedback on the whole feature request before trying them.

@janvdp would be super happy to accept any PR for that!


Flag representing "North America"

This is an amazing repo, the flags looks really good.
I would love to see a flag representing North America. The one with a United States and Canada flag split diagonally.
Do you accept pull requests by the way?

This wouldn't be correct. North America is more than CA/US, and for now there are only country flags. There should be a whole new category for combinations then IMO.

We will look in to this, vi actually need something similar for the project we're working on at the moment so we might add it soon.

What @Haroenv said, North America is not only those countries

I'm thinking a simplification of the continent shape.

This is now done :+1:

This should be added in the realm as well :)

@Haroenv Added to the readme, will get a new version of the libs out as well soon!


Error building Godot 3.0 with creature module

I checked out the 3.0 branch and added the creaturegodot folder to modules/
Compiling goes fine but I'm getting a linking error:
scons: Reading SConscript files ...
Detected MSVC compiler: amd64
Compiled program architecture will be a 64 bit executable (forcing bits=64).
YASM is necessary for WebM SIMD optimizations.
WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
Linking Program        ==> bin\godot.windows.opt.tools.64.exe
   Creando biblioteca bin\godot.windows.opt.tools.64.lib y objeto bin\godot.windows.opt.tools.64.exp
modules.windows.opt.tools.64.lib(creaturegodot.windows.opt.tools.64.obj) : error LNK2019: símbolo externo "public: __cdecl JsonAllocator::~JsonAllocator(void)" (??1JsonAllocator@@QEAA@XZ) sin resolver al que se hace referencia en la función "public: __cdecl CreatureModule::CreatureLoadDataPacket::~CreatureLoadDataPacket(void)" (??1CreatureLoadDataPacket@CreatureModule@@QEAA@XZ)
modules.windows.opt.tools.64.lib(CreatureMetaData.windows.opt.tools.64.obj) : error LNK2001: símbolo externo "public: __cdecl JsonAllocator::~JsonAllocator(void)" (??1JsonAllocator@@QEAA@XZ) sin resolver
modules.windows.opt.tools.64.lib(CreatureModule.windows.opt.tools.64.obj) : error LNK2019: símbolo externo "enum JsonParseStatus __cdecl jsonParse(char *,char * *,union JsonValue *,class JsonAllocator &)" (?jsonParse@@YA?AW4JsonParseStatus@@PEADPEAPEADPEATJsonValue@@AEAVJsonAllocator@@@Z) sin resolver al que se hace referencia en la función "void __cdecl CreatureModule::LoadCreatureJSONData(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class CreatureModule::CreatureLoadDataPacket &)" (?LoadCreatureJSONData@CreatureModule@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAVCreatureLoadDataPacket@1@@Z)
modules.windows.opt.tools.64.lib(CreatureMetaData.windows.opt.tools.64.obj) : error LNK2001: símbolo externo "enum JsonParseStatus __cdecl jsonParse(char *,char * *,union JsonValue *,class JsonAllocator &)" (?jsonParse@@YA?AW4JsonParseStatus@@PEADPEAPEADPEATJsonValue@@AEAVJsonAllocator@@@Z) sin resolver
bin\godot.windows.opt.tools.64.exe : fatal error LNK1120: 2 externos sin resolver
scons: building terminated because of errors.

(I'll try again at home so I can upload the same error in English)

Tried building from Godot's master branch. Same issue

Hello,
I just tried a clean build with Godot 3 and the Creature Godot 3 plugin with no issues, everything compiled and linked through correctly.
Here are a list of things to check:

Did you get your Creature Godot plugin from this folder: https://github.com/kestrelm/Creature_Godot/tree/master/creaturegodot3/creaturegodot

Did you also miss out copying one of the sub-folders? Your linker error indicates that the JSON library was not compiled with it. Did you copy the sub-folder gason in as well?

As I just mentioned, I did a full clean build checked out from this repository and everything ran fine.
Thanks

Those two steps are ok. I didn't try doing a clean build. Will check that now. Thank you

Hello,
No problem, but I am not sure if a clean build is causing your issue right now.
The error message you posted seems to indicate that you have a linker error with your build with regard to the gason JSON library. I somehow suspect that the provided JSON files are not getting compiled through in your case?

@Ranoller This issue has been resolved with the latest merge :) Cheers

Ok! Good to know!


[Doc] The JDK version in README.md is not consistent

What issue do you find in Pulsar docs?
The README.md explains how to configure JDK version for maven, and says the purpose is "uses the Java 11 JDK for running Maven when importing the project to IntelliJ"; However, use project JDK will leverage JDK 17 instead of JDK 11, the project jdk version should be 17 in the context.
What is your suggestion?
Change the version to 17 to make it consistent within README.md
Do you have any references?
https://github.com/apache/pulsar/blob/master/README.md#configure-java-version-for-maven-in-intellij
Would you like to fix this issue?
I can submit a PR to fix it if it's an issue.
Note

[X] I have researched my question.

Please help check if this PR looks good https://github.com/apache/pulsar/pull/16053


Clarify Map order of durable object multi-get results

we got some customer feedback that "lexicographic" wasn't specific enough, suggesting byte-wise ordering of the UTF-8 encoding; worth specifying here?

Sure, added.


Flutter 3.22.0 + wasm option

Description

Updated project to flutter 3.22.0
Removed fvm and modified to use stable version.
Updated android,ios,web,macos,windows projects
Updated codegen package and re-create code

Fixes #issue_number
Type of change
Please delete options that are not relevant.

[x] New feature

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.

Checklist

[ ] My code follows the style guidelines of this project.
[ ] My code has been formatted with flutter format lib.
[ ] My code has been fixed with dart fix --apply lib.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.

https://github.com/flutter/flutter/issues/152603


Need to Create a Webpage ("Testimonial.html")

To complete the Website, Need a page called 'testimonial' named page to work.

hey @AFEEF12345 please assign this issue to me

This issue is already committed by Our team mate


Feature Idea: Mutate only modified files (based on git)

Mutationtesting can need a lot of time. For example mutation testing Stryker itself needs 45 minutes on my computer. This makes it very unusable for this workflow:

Implement a feature/bug fix (sometimes together with tests)
Write some/more tests
Run mutationtest to check if something in the new code is not tested. If something important is missing go back to 2.
Commit and Push (Complete mutationtest runs on CI)

Now the thing is: Actually in step 3 I don't care for all mutations outside of my changes. Yes, in theory they might be connected with my new code, but it's just not practical to wait so long in step 3.
Therefore I have developed the following workaround, which mutates only changed files:
const {execSync} = require('child_process');

function listModifiedFiles(regexp) {
  const modifiedFiles = execSync('git ls-files -m', {encoding: "UTF8"})
    .split('\n')
    .filter(fileName => !!fileName);
  return modifiedFiles.filter(fileName => regexp.test(fileName));
}

module.exports = function (config) {
  config.set({
    files: ['!**/*.*', 'src/**/*.ts', 'test/**/*.ts'],
    mutate: ['!**/*.*'].concat(listModifiedFiles(/src.*\.ts/)),
    testRunner: "karma",
    mutator: "typescript",
    transpilers: ["typescript"],
    reporter: ["html", "baseline", "clear-text", "progress"],
    coverageAnalysis: "off",
    karmaConfigFile: "karma.conf.js",
    tsconfigFile: "tsconfig.json",
  });
};

(Complete working example project: https://github.com/shybyte/stryker-mocha-karma-ts)
I wonder:

Is this approach something that can/should be directly integrated into stryker?
Does is makes sense to document this approach?

Is this approach something that can/should be directly integrated into stryker?

I woulnd't want to use git as a source of files, as it would tightly couple with it. I think we already have a fairly good improvement idea for this using something we've been calling incremental analysis here: #322. I'm curious what your take is on this approach.

Does is makes sense to document this approach?

Yes it does! What do you think a good place for config examples would be?

I guess approach #322 is more solid but also a lot more complicated.

What do you think a good place for config examples would be?

In this particular case it's about "How do I speed it up Stryker?" so maybe just a link in the FAQ on https://stryker-mutator.github.io/faq.html to this issue could help others.

In this particular case it's about "How do I speed it up Stryker?" so maybe just a link in the FAQ

Sounds good. Maybe we can reserve a place in the stryker main repo for example configs. So you can point to that from the FAQ. @simondel what do you think? Maybe we could create an examples folder. Others can contribute to, for example with a working example for config using typescript, babel + flow, ...

We have the handbook with example configuration: https://github.com/stryker-mutator/stryker-handbook
Our quickstart has also improved a lot in the past few months. I'm closing this issue for now.