Comments (11)
Hi!
Check the inference_dataset_root
directory. I ran into the same issue, it turned out the path was not accessible/correct. In your example, your directory is /../frame_00
, it is looking weird, especially the first /
. Also, if you are using the docker image, make sure to mount the volume accordingly so your image folder is accessible from within the docker image.
from flownet2-pytorch.
@bkvie @coderclear this happens when the inference_dataset_root path doesn't exist.
from flownet2-pytorch.
yes, this likely because the inference_dataset_root point to an empty folder or it doesn't exist
from flownet2-pytorch.
I also met this issue. Have you solved?In 251 line of main.py define the 'inference_loader'.
from flownet2-pytorch.
if inference_root is 'main.py --inference --model FlowNet2 --save_flow --inference_dataset MpiSintelClean --inference_dataset_root /../frame_00 --resume ./checkpoints/flownet2'.
i got
NameError: name 'inference_loader' is not defined
if inference_root is 'main.py --inference --model FlowNet2 --save_flow --inference_dataset MpiSintelClean --inference_dataset_root /../training/clean/alley_1 --resume ./checkpoints/flownet2'.
I got
self.frame_size = frame_utils.read_gen(self.image_list[0][0]).shape
IndexError: list index out of range
and
self.size type is <class 'int'>
self.size is 0
[0.000s] Operation failed
@0asa
from flownet2-pytorch.
Have you solved this problem?
from flownet2-pytorch.
我也遇到了这个问题。解决了吗?在main.py的251行中定义了'inference_loader'。
How do you define it?
from flownet2-pytorch.
@fitsumreda I am having this issue despite having a non-empty & existing folder with images that have shape in multiples of 64.
from flownet2-pytorch.
from flownet2-pytorch.
@fitsumreda I am having this issue despite having a non-empty & existing folder with images that have shape in multiples of 64.
I've noticed that when I process .jpg files it reports a 'list index out of range' error, but works fine when processing .png files. You can try it, hope it helps!
from flownet2-pytorch.
from flownet2-pytorch.
Related Issues (20)
- ValueError (inference) HOT 1
- inference error
- Error when running Inference: forward call is outdated and returns an error when called.
- Flownet2 model for faces HOT 1
- Thanks for this repository! could you please provide the pretrained model for FlowNet2ss or FlowNet2s (lower-case letters, pytorch)? HOT 2
- AttributeError: Module 'time' has no attribute 'clock'
- 想问下如何跑多个文件
- I cannot load the pretrained FlowNetS
- Training with MultiScale loss
- Should I extact "tar" for FlowNet2_checkpoint.pth.tar ?
- Groundtruth of my dataset!!!
- How to achieve the 3D version of correlation layer?
- CUDA error: the provided PTX was compiled with an unsupported toolchain
- start_epoch argument fix
- Error when training Flownet2S HOT 1
- Wrong calculation of EPE HOT 1
- Installation is a nightmare HOT 3
- TypeError: forward() takes 2 positional arguments but 3 were given,flownetc_flow2 = self.flownetc(x)[0].why!!!!
- cuda version HOT 2
- Segmentation fault
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flownet2-pytorch.