lama
lama copied to clipboard
got error when I want to train with celeba dataset (AttributeError: 'NoneType' object has no attribute 'tb_lasti')
Hi, I used this command after prepared dataset python bin/train.py -cn lama-fourier-celeba data.batch_size=10 but I got this below error. Why it's happen? How I can fix it? I'm using windows os.
@windj007
### Error:
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'hydra/overrides': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'trainer/any_gpu_large_ssim_ddp_final_celeba': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'evaluator/default_inpainted': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'visualizer/directory': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'optimizers/default_optimizers': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'discriminator/pix2pixhd_nlayer': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'generator/ffc_resnet_075': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'data/abl-04-256-mh-dist-celeba': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra\core\default_element.py:127: UserWarning: In 'location/docker': Usage of deprecated keyword in package header '# @package group'.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/changes_to_package_header for more information
See {url} for more information"""
C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\omegaconf\resolvers_init_.py:13: UserWarning: The env
resolver is deprecated, see https://github.com/omry/omegaconf/issues/573
"The env
resolver is deprecated, see https://github.com/omry/omegaconf/issues/573"
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra_internal\utils.py", line 211, in run_and_report
return func()
File "C:\ProgramData\Anaconda3\envs\pytorch171\lib\site-packages\hydra_internal\utils.py", line 371, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bin/train.py", line 72, in
Hi! Set USER environment variable to any value, see this issue. You're trying to train, so you might also need TORCH_HOME environment (this issue).
I do not have a Windows machine, so I cannot test the code under Windows. It might worth trying Windows Linux Subsystem - the easiest way to use Linux from a Windows machine - many open source machine learning tools work better under Linux.
I've tested the code on windows. It works perfectly.
I've tested the code on windows. It works perfectly.
Hi,How do you solve this problem on Windows?
I got a problom like this. Did you solve this problem? Training failed due to "'Box' object has no attribute 'visualizer'": Traceback (most recent call last): File "box\box.py", line 504, in box.box.Box.getitem KeyError: 'visualizer'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "box\box.py", line 537, in box.box.Box.getattr File "box\box.py", line 525, in box.box.Box.getitem box.exceptions.BoxKeyError: "'visualizer'"
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "box\box.py", line 539, in box.box.Box.getattr AttributeError: 'Box' object has no attribute 'visualizer'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "D:\jsc\LAMA\lama-main\bin\train.py", line 44, in main config.visualizer.outdir = os.path.join(os.getcwd(), config.visualizer.outdir) File "box\box.py", line 553, in box.box.Box.getattr box.exceptions.BoxKeyError: "'Box' object has no attribute 'visualizer'"