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

OSError: Unable to open file (truncated file: eof = 27626007534, sblock->base_addr = 0, stored_eof = 32470737720) #8

Open
MrLianSYSU opened this issue Aug 20, 2022 · 0 comments

Comments

@MrLianSYSU
Copy link

when i have to train this model,it raise this kind of problem,why is that?
python train.py --obj_file oscar.hdf5 --devices 0
Namespace(batch_size=50, bs_reduct=5, dataset_root=PosixPath('/home/lianjunliang/anaconda3/envs/Xmodal-Ctx/datasets'), devices=[0], drop_rate=0.3, exp_name='[m2][xmodal-ctx]', lr_rl=5e-06, lr_xe=0.0001, m=40, obj_file='oscar.hdf5', preload=False, resume_best=False, resume_last=False, save_dir=PosixPath('outputs/[m2][xmodal-ctx]'), topk=12, warmup=10000, wd_rl=0.05, workers=6)
Meshed-Memory Transformer Training
Traceback (most recent call last):
File "train.py", line 243, in
max_detections=50, preload=args.preload
File "/home/lianjunliang/anaconda3/envs/Xmodal-Ctx/m2/data/field.py", line 296, in init
self.obj = h5py.File(obj_file, "r")
File "/home/lianjunliang/anaconda3/envs/xmodal-ctx/lib/python3.7/site-packages/h5py/_hl/files.py", line 507, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "/home/lianjunliang/anaconda3/envs/xmodal-ctx/lib/python3.7/site-packages/h5py/_hl/files.py", line 220, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open

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