SuLvXiangXin / zipnerf-pytorch

Unofficial implementation of ZipNeRF
Apache License 2.0
802 stars 87 forks source link

assert all(index[i] == 0 for i in reduced_idx) #55

Open mmxuan18 opened 1 year ago

mmxuan18 commented 1 year ago

assert all(index[i] == 0 for i in reduced_idx) AssertionError

image

the 360_v2 two text file as follow,do these has error? cat flowers.txt We are not permitted to share this scene publicly. However, if you want to evaluate on this scene, please email the authors and we can help you out.

SuLvXiangXin commented 1 year ago

Can you post the entire error message? I can't figure out what's going on

Loping151 commented 1 year ago

I've seen this when I tried to run accelerate launch train.py \ --gin_configs=configs/360.gin \ --gin_bindings="Config.data_dir = '${DATA_DIR}'" \ --gin_bindings="Config.exp_name = '${EXP_NAME}'" \ --gin_bindings="Config.factor = 4" without DDP on a single RTX4090. I know it's my fault to use accelerate. Anyway, after switching to python train.py, this problem was fixed for me. I mean, this sounds like a problem caused by improperly using DDP.