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

TypeError: Descriptors cannot be created directly #34

Open
lweingart opened this issue May 14, 2023 · 0 comments
Open

TypeError: Descriptors cannot be created directly #34

lweingart opened this issue May 14, 2023 · 0 comments

Comments

@lweingart
Copy link

Hi team,

I would love to use your model to train a custom dataset, so I cloned the repo, setup the env with conda and added my dataset according to the description in a data folder.
When I run the command I get a strange error, mentionning library versions issues.

Here is the log from the prompt:

$ python src/infra/launch.py hydra.run.dir=. exp_suffix=test_stylegan env=local dataset=strikes dataset.resolution=720 num_gpus=1
<=== TRAINING COMMAND START ===>
TORCH_EXTENSIONS_DIR=/tmp/torch_extensions cd /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69 && /home/lweingart/git/stylegan-v/env/bin/python src/train.py hydra.run.dir=. hydra.output_subdir=null hydra/job_logging=disabled hydra/hydra_logging=disabled
<=== TRAINING COMMAND END ===>
There are uncommited changes. Continue? [y/N]: y
[2023-05-14 17:00:00,711][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src
[2023-05-14 17:00:00,711][root][INFO] - copying /home/lweingart/git/stylegan-v/src/legacy.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src
[2023-05-14 17:00:00,711][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/dnnlib
[2023-05-14 17:00:00,711][root][INFO] - copying /home/lweingart/git/stylegan-v/src/dnnlib/util.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/dnnlib
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/dnnlib/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/dnnlib
[2023-05-14 17:00:00,712][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps
[2023-05-14 17:00:00,712][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps/facial_recognition
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/deps/facial_recognition/helpers.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps/facial_recognition
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/deps/facial_recognition/model_irse.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps/facial_recognition
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/deps/facial_recognition/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps/facial_recognition
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/deps/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/deps
[2023-05-14 17:00:00,712][root][INFO] - copying /home/lweingart/git/stylegan-v/src/train.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src
[2023-05-14 17:00:00,713][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/convert_videos_to_frames.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/calc_metrics_for_dataset.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/profile_model.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/calc_metrics.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/crop_video_dataset.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,713][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/project.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/clip_edit.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/construct_static_videos_dataset.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/convert_video_to_dataset.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/preprocess_ffs.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/frames_to_video_grid.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/scripts/generate.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/scripts
[2023-05-14 17:00:00,714][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/training_loop.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,714][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/augment.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/dataset.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/mocogan.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/networks.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/loss.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/layers.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/motion.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/training/logging.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training
[2023-05-14 17:00:00,715][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/__pycache__
[2023-05-14 17:00:00,715][root][INFO] - copying /home/lweingart/git/stylegan-v/src/__pycache__/__init__.cpython-39.pyc -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/__pycache__
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src
[2023-05-14 17:00:00,716][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/custom_ops.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,716][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/fma.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/grid_sample_gradfix.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/upfirdn2d.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/bias_act.cu -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/conv2d_gradfix.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/bias_act.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/conv2d_resample.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/bias_act.h -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/upfirdn2d.cu -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/upfirdn2d.cpp -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/bias_act.cpp -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/ops/upfirdn2d.h -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils/ops
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/misc.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,716][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/persistence.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/torch_utils/training_stats.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/torch_utils
[2023-05-14 17:00:00,717][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/slurm_batch_launch.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/utils.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra/__pycache__
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/__pycache__/__init__.cpython-39.pyc -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra/__pycache__
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/__pycache__/utils.cpython-39.pyc -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra/__pycache__
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/slurm_job_proxy.sh -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/launch.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/experiments.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/infra/slurm_job.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/infra
[2023-05-14 17:00:00,717][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/inception_score.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/video_inception_score.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/frechet_video_distance.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/frechet_inception_distance.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/__init__.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/kernel_inception_distance.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,717][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/metric_utils.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/src/metrics/metric_main.py -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/metrics
[2023-05-14 17:00:00,718][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/infra.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs
[2023-05-14 17:00:00,718][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/mead.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/base.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/ucf101.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/strikes.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/sky_timelapse.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/ffs.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/dataset/rainbow_jelly.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/dataset
[2023-05-14 17:00:00,718][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/training
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/training/base.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/training
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/config.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs
[2023-05-14 17:00:00,718][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/model
[2023-05-14 17:00:00,718][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/model/stylegan-v.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/model
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/model/mocogan.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/model
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/model/base.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/model
[2023-05-14 17:00:00,719][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/env
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/env/base.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/env
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/env/local.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/env
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/env/raven-local.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/env
[2023-05-14 17:00:00,719][root][INFO] - creating /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/sampling
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/sampling/uniform.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/sampling
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/sampling/random_1.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/sampling
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/sampling/base.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/sampling
[2023-05-14 17:00:00,719][root][INFO] - copying /home/lweingart/git/stylegan-v/configs/sampling/random.yaml -> /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/configs/sampling
Creating a symlink to /home/lweingart/git/stylegan-v/data, so try not to delete it occasionally!
Created a project dir: /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69
Saved training command in /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/training_cmd.sh
Saved config in /home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/experiment_config.yaml
Traceback (most recent call last):
  File "/home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/train.py", line 24, in <module>
    from training import training_loop
  File "/home/lweingart/git/stylegan-v/experiments/strikes_720_unstable_stylegan-v_random3_max32_test_stylegan-3fecd69/src/training/training_loop.py", line 19, in <module>
    from torch.utils.tensorboard import SummaryWriter # Note: importing torchvision BEFORE tensorboard results in SIGSEGV
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/torch/utils/tensorboard/__init__.py", line 8, in <module>
    from .writer import FileWriter, SummaryWriter  # noqa F401
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/torch/utils/tensorboard/writer.py", line 10, in <module>
    from tensorboard.compat.proto.event_pb2 import SessionLog
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/tensorboard/compat/proto/event_pb2.py", line 17, in <module>
    from tensorboard.compat.proto import summary_pb2 as tensorboard_dot_compat_dot_proto_dot_summary__pb2
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/tensorboard/compat/proto/summary_pb2.py", line 17, in <module>
    from tensorboard.compat.proto import tensor_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__pb2
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/tensorboard/compat/proto/tensor_pb2.py", line 16, in <module>
    from tensorboard.compat.proto import resource_handle_pb2 as tensorboard_dot_compat_dot_proto_dot_resource__handle__pb2
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/tensorboard/compat/proto/resource_handle_pb2.py", line 16, in <module>
    from tensorboard.compat.proto import tensor_shape_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__shape__pb2
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/tensorboard/compat/proto/tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "/home/lweingart/git/stylegan-v/env/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Would you have any suggestion to help me understand the problem by chance ?

Also, you may notice that I set only one GPU. This is because I am first testing the code and configuration on my workstation before putting it on a multiple GPU cloud instance

I also have a subsidiary question: is it easily feasible to modify the conf/code to generate videos that are not squared, and/or train the model with 16/9 videos ?

Thank you very much in advance for your esteemed help

Cheers

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

1 participant