Mengyang Pu

Results 44 comments of Mengyang Pu

@jonylong The image you uploaded cannot be displayed. Our project only supports distributed training on multiple GPUs on one machine or a single GPU on one machine. > bash ./tools/dist_train.sh...

[trian.py](https://github.com/MengyangPu/EDTER/blob/main/tools/train.py) 18 line: os.environ['RANK']='0'

Please check [BSDSDataset class](https://github.com/MengyangPu/EDTER/blob/main/mmseg/datasets/bsds.py).

> > Please check [BSDSDataset class](https://github.com/MengyangPu/EDTER/blob/main/mmseg/datasets/bsds.py). > > @MengyangPu could you please elaborate on what I need to do in the BSDSDataset class? An incomplete environment may cause the above...

@Arslan-Mehmood1 I haven't used colab before, so I can't provide further advice. Please verify if the mmcv version supports colab, and [this link](https://colab.research.google.com/github/open-mmlab/mmsegmentation/blob/master/demo/MMSegmentation_Tutorial.ipynb) might help you.

@Arslan-Mehmood1 Please refer to [the full script for setting up EDTER with conda](https://github.com/MengyangPu/EDTER?tab=readme-ov-file#11-linux). python=3.7 pytorch=1.6.0 torchvision cudatoolkit=10.1 mmcv-full==1.2.2

1. You can modify MMCV_MAX = '1.2.7' to MMCV_MAX = '1.7.1' in https://github.com/MengyangPu/EDTER/blob/de6438b82a1049f8b45ceb10f9137072151c1d17/mmseg/__init__.py#L6 2. Please try to: cd EDTER pip install -e . # or "python setup.py develop" pip install...

> Please set launcher=pytorch in the [./tools/test.py](https://github.com/MengyangPu/EDTER/blob/d37c1d1f664264bdab26e41b6a7c05fb7262fb37/tools/test.py#L61), and use the function [multi_gpu_test](https://github.com/MengyangPu/EDTER/blob/d37c1d1f664264bdab26e41b6a7c05fb7262fb37/mmseg/apis/test.py#L73C5-L73C19).

@Arnab1181412 The process is the same as [the training process](https://github.com/MengyangPu/EDTER?tab=readme-ov-file#2-training): 1 Data augment, and generate a [train_pair.txt](https://github.com/MengyangPu/EDTER/blob/main/data/BSDS/ImageSets/train_pair.txt) of your data. 2 Modify the path in the [configuration file](https://github.com/MengyangPu/EDTER/blob/main/configs/bsds/EDTER_BIMLA_320x320_80k_bsds_bs_8.py). 3 Adjust...

Yes, and you could create your dataset.py based on [configs/_base_/datasets/bsds.py](https://github.com/MengyangPu/EDTER/blob/3fe76f3d938206ef9dc8b857a9767b8cd3d28fc7/configs/_base_/datasets/bsds.py).