Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please tell me how to solve this problem #16

Open
WangchukTsering opened this issue Jan 1, 2024 · 11 comments
Open

Please tell me how to solve this problem #16

WangchukTsering opened this issue Jan 1, 2024 · 11 comments

Comments

@WangchukTsering
Copy link

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

@csxmli2016
Copy link
Owner

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

@WangchukTsering
Copy link
Author

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
Copy link
Author

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

@csxmli2016
Copy link
Owner

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?

@WangchukTsering
Copy link
Author

WangchukTsering commented Jan 2, 2024 via email

@WangchukTsering
Copy link
Author

WangchukTsering commented Jan 3, 2024

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

@csxmli2016
Copy link
Owner

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

@WangchukTsering
Copy link
Author

WangchukTsering commented Jan 3, 2024

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

@csxmli2016
Copy link
Owner

Author

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

@WangchukTsering
Copy link
Author

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

@csxmli2016
Copy link
Owner

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 (csxmli@gmail.com) about connecting to the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants