Open udkii opened 2 years ago
I modified the code to receive encoding as UTF-8, but it didn't solve.
I tried the try: , except: code as well, but got a NameError saying JSONDecoder could not be found.
Can anyone help, please?
maybe your log file has some error
maybe your log file has some error
How did you know that? I tried ur suggestion, and corrected error
Hello. I looked at other issues, but I don't think there are any issues that are the same as mine, so I'm writing this.
First of all, when I ran training last night, I increased the batch_size. (I have 4 3080Ti GPUs. originally I trained by batch_size of 8, then yesterday I increased it to 16). Then the computer suddenly lags and rebooted.
When I try to start learning again on the rebooted computer, I get this error from then on. There seems to be a remnant of a failed json file being created in training that was forced to quit.
Once I deleted the information about the session (33) that was killed by force from the .log file in logs. Even so, I keep getting an error in the logger.py file.
How can I solve this?
My Error Message is like this.
Traceback (most recent call last): File "train.py", line 526, in
train()
File "train.py", line 200, in train
overwrite=(args.resume is None), log_gpu_stats=args.log_gpu)
File "/home/user/yolact/utils/logger.py", line 56, in init
self.session = json.loads(last)['session'] + 1
File "/home/user/anaconda3/envs/yolact-env/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/user/anaconda3/envs/yolact-env/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/user/anaconda3/envs/yolact-env/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 447 (char 446)
This is my log file looks like
Python 3.7.0 | packaged by conda-forge | (default, Nov 12 2018, 20:15:55) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.