MARCONet icon indicating copy to clipboard operation
MARCONet copied to clipboard

Please tell me how to solve this problem

Open WangchukTsering opened this issue 1 year ago • 11 comments

raise KeyError(f"No object named '{name}' found in '{self._name}' registry!") KeyError: "No object named 'TextDegradationDataset' found in 'dataset' registry!"

WangchukTsering avatar Jan 01 '24 10:01 WangchukTsering

raise KeyError(f"No object named '{name}' found in '{self._name}' registry!") KeyError: "No object named 'TextDegradationDataset' found in 'dataset' registry!"

Did you follow the installation steps? You can solve it by running python setup.py develop

csxmli2016 avatar Jan 01 '24 23:01 csxmli2016

According to the Readme file, after Python setup. py, it displays: Finished processing dependencies for marconet=1.1.0 But in the end, this error will still be reported!

WangchukTsering avatar Jan 02 '24 13:01 WangchukTsering

I was unable to train, please ask the author for a favor.

WangchukTsering avatar Jan 02 '24 13:01 WangchukTsering

I was unable to train, please ask the author for a favor.

I can successfully train the model with the given instruction. Please double-check the following steps:

  1. All the training steps are performed in cd ./Train path
  2. Remove the environment and run the following steps again:
conda create -n marcotrain python=3.8 -y
conda activate marcotrain
pip install -r requirements.txt
BASICSR_EXT=True pip install basicsr
python setup.py develop
  1. python scripts/download.py
  2. CUDA_VISIBLE_DEVICES=0 python tspgan/train.py -opt options/train.yml

With the above steps, I can successfully run the training code. Could you show me the output by running pip list | grep marconet after you run python setup.py develop?

csxmli2016 avatar Jan 02 '24 14:01 csxmli2016

Thanks especially for your reply. I just got out of the lab. I'll try to re-match this environment tomorrow.

---Original--- From: @.> Date: Tue, Jan 2, 2024 22:00 PM To: @.>; Cc: @.@.>; Subject: Re: [csxmli2016/MARCONet] Please tell me how to solve this problem (Issue #16)

I was unable to train, please ask the author for a favor.

I can successfully train the model with the given instruction. Please double-check the following steps:

All the training steps are performed in cd ./Train path

Remove the environment and run the following steps again: conda create -n marcotrain python=3.8 -y conda activate marcotrain pip install -r requirements.txt BASICSR_EXT=True pip install basicsr python setup.py develop
python scripts/download.py

CUDA_VISIBLE_DEVICES=0 python tspgan/train.py -opt options/train.yml

With the above steps, I can successfully run the training code. Could you show me the output by running pip list | grep marconet after you run python setup.py develop?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

WangchukTsering avatar Jan 02 '24 14:01 WangchukTsering

I reinstalled the environment today and this error still occurs. After running python setup.py develop, it shows success, but cannot be trained. Screenshot from 2024-01-03 15-11-44 Screenshot from 2024-01-03 15-21-05

WangchukTsering avatar Jan 03 '24 07:01 WangchukTsering

I reinstalled the environment today and this error still occurs. After running python setup.py develop, it shows success, but cannot be trained. Screenshot from 2024-01-03 15-11-44 Screenshot from 2024-01-03 15-21-05

what is the output when you run pip list | grep marconet

csxmli2016 avatar Jan 03 '24 07:01 csxmli2016

display after list | grep marconet Screenshot from 2024-01-03 15-51-57

WangchukTsering avatar Jan 03 '24 07:01 WangchukTsering

Author

Could you show me the files in Text_Image_SR/MARCONet/Train/tspgan/data

csxmli2016 avatar Jan 03 '24 08:01 csxmli2016

Or can you help me debug it remotely? I have been trying to solve this problem for three weeks!

Screenshot from 2024-01-03 16-25-59

WangchukTsering avatar Jan 03 '24 08:01 WangchukTsering

Or can you help me debug it remotely? I have been trying to solve this problem for three weeks!

Screenshot from 2024-01-03 16-25-59

Sure. You can send me an email ([email protected]) about connecting to the server.

csxmli2016 avatar Jan 03 '24 08:01 csxmli2016