Jakaria08 / EESRGAN

Small-Object Detection in Remote Sensing (satellite) Images with End-to-End Edge-Enhanced GAN and Object Detector Network
GNU General Public License v3.0
279 stars 70 forks source link

Got an error when running your code #10

Closed yuz79 closed 3 years ago

yuz79 commented 4 years ago

Hello, I got an error when running the train.py: Traceback (most recent call last): File "train.py", line 94, in main(config) File "train.py", line 32, in main screen=True, tofile=True) File "C:\EESRGAN\utils\util.py", line 328, in setup_logger fh = logging.FileHandler(log_file, mode='w') File "C:\MIMIA\Anaconda3\envs\tensorflow\lib\logging__init.py", line 1087, in init StreamHandler.init__(self, self._open()) File "C:\MIMIA\Anaconda3\envs\tensorflow\lib\logging__init__.py", line 1116, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] No such file or directory: 'C:\EESRGAN\saved\logs\train_RRDB_ESRGANx4_200730-145122.log

Would you please tell me what is going wrong? Thank you!

rileymjohnson commented 4 years ago

You need to create a logs directory inside the save folder. It is trying to write into a directory that doesn't exist.