-
Notifications
You must be signed in to change notification settings - Fork 251
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
Question about the CorrDiff Example #704
Comments
cwb.py ZarrDataset class:
in the output_channels function, the self.out_channels is [0, 17, 18, 19], not [0,1,2,3] |
cwb.py ZarrDataset class getitem function:
|
I have changed it in the conf/yaml by cfg.dataset.out_channels = [0, 1, 2, 3], also the channels means the channels choice in the zarr, you can see channels by zarr.tree() 我也觉得这是一个bug,也有可能是之前的训练集的结构不一样导致的,可以直接在yaml或者运行的时候改变channel就行,因为作为output的输出的数据集size为4,所以可以设置为cfg.dataset.out_channels = [0, 1, 2, 3] 可以通过简单的zarr库和zarr.tree()方法查看zarr数据库的结构 import zarr as zr
zrpath = '/home/cwa_dataset/cwa_dataset.zarr'
ze = zr.open(zrpath, mode = 'r')
zr.load(zrpath)
group = zr.open_consolidated(zrpath)
ze = zr.open(zrpath, mode = 'r')
zr.tree(ze) |
|
when i run
python train.py
, the error:what is the reason?
and
cwb_train.yaml文件中in_channels: [0, 1, 2, 3, 4, 9, 10, 11, 12, 17, 18, 19]是什么意思,为什么不是0~19,代表20个变量呢
The text was updated successfully, but these errors were encountered: