You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "main.py", line 83, in
tf.app.run()
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "main.py", line 57, in main
denoiser_train(model, lr=lr)
File "main.py", line 25, in denoiser_train
denoiser.train(eval_files, noisy_eval_files, batch_size=args.batch_size, ckpt_dir=args.ckpt_dir, epoch=args.epoch, lr=lr)
File "/mnt/project/grp_202/xiaolan2/DnCNN-tensorflow/model.py", line 114, in train
ind1 = range(res.shape[0]/2)
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "main.py", line 83, in
tf.app.run()
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/home/xiaolan2/folder/project/temp/hone/xiaolan2/folder/project/anaconda3/envs/yourenvname/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "main.py", line 57, in main
denoiser_train(model, lr=lr)
File "main.py", line 25, in denoiser_train
denoiser.train(eval_files, noisy_eval_files, batch_size=args.batch_size, ckpt_dir=args.ckpt_dir, epoch=args.epoch, lr=lr)
File "/mnt/project/grp_202/xiaolan2/DnCNN-tensorflow/model.py", line 114, in train
ind1 = range(res.shape[0]/2)
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered: