lddsdu / VRBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

index < sizes[i] && "index out of bounds"` failed

RyanYip-Kat opened this issue · comments

Hello!When run
python main.py --task kamed --super_rate 0.5 --model vrbot --train_batch_size 16 --test_batch_size 32 --device 0 --worker_num 5 ,
I got an error :
src/ATen/native/cuda/IndexKernel.cu:60: lambda ->auto::operator()(int)->auto: block: [244,0,0], thread: [127,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
And I try other task still got the same error.I do not know how to fix this?

OK!I will try it with cpu.Actually,my torch version ==1.4.0

When I changed some params,python main.py --task kamed --super_rate 0.5 --model vrbot --train_batch_size 8 --test_batch_size 16 --device 2 --worker_num 5
I got another error :
image
How to fix it ?

When I run with cpu.I got the same error!

When I changed some params,python main.py --task kamed --super_rate 0.5 --model vrbot --train_batch_size 8 --test_batch_size 16 --device 2 --worker_num 5
I got another error :
image
How to fix it ?

kamed is a dataset without any annotation, please set super_rate to 0

When I run with cpu.I got the same error!

I rechecked the code again, and it could run through in both CPU and GPU along with all datasets, so please email me the log information to ensure I could locate the error quickly.

OK,.Thansk!I will try this again! Now I had run task medgg successfully,but did not generate ckpt file.Do I have to set param --force_ckpt_dump?

I see it,Thanks! if I want to define more relation in graph,what else do I need to change before I change the graph.json file?

Whether the graph_loader.py file is redundant?I didn't see the model using it.

Whether the graph_loader.py file is redundant?I didn't see the model using it.