occupancy_networks icon indicating copy to clipboard operation
occupancy_networks copied to clipboard

training with default.yaml

Open NaveedMaz opened this issue 4 years ago • 3 comments

hi, want to train this network to my custom data i have prepared everything and all the data just as stated in the repo but when i train it it gives me this error Traceback (most recent call last): File "train.py", line 73, in model = config.get_model(cfg, device=device, dataset=train_dataset) File "/home/mazharnaveed804/experimental/occupancy_networks/im2mesh/config.py", line 76, in get_model cfg, device=device, dataset=dataset) File "/home/mazharnaveed804/experimental/occupancy_networks/im2mesh/onet/config.py", line 35, in get_model encoder_latent = models.encoder_latent_dict[encoder_latent]( KeyError: None Now i don't know how can i solve it please help.

NaveedMaz avatar Jan 05 '21 19:01 NaveedMaz

it is giving me the same error when i try to train on the preprocessed shapenet data provided in this repo

NaveedMaz avatar Jan 05 '21 19:01 NaveedMaz

I met the same problem too. After a lot of trial-and-error, I found that the following scripts are able to run successfully.

python3 train.py configs/img/onet.yaml
python3 train.py configs/pointcloud/onet.yaml
python3 train.py configs/voxels/onet.yaml

Just would like to share my findings and hope it will help you.

tsunghan-wu avatar Apr 16 '21 11:04 tsunghan-wu

I met the same problem too. After a lot of trial-and-error, I found that the following scripts are able to run successfully.

python3 train.py configs/img/onet.yaml
python3 train.py configs/pointcloud/onet.yaml
python3 train.py configs/voxels/onet.yaml

Just would like to share my findings and hope it will help you.

Hello, there are a lot of yaml files in the whole configuration file in the file, do they all mean anything different? We look forward to your reply thanks.

Hxinyue avatar Jun 30 '22 01:06 Hxinyue