Comments (2)
I got a same problem.
In my case,
python video_completion.py
--seamless
--edge_guide
--mode object_removal
--path '{% path %}'
--path_mask '{% path_mask %}'
--outroot '{% outroot %}'
--Nonlocal true
--mixed_precision
and the result is also
File "~\FGVC\tool\get_flowNN_gradient.py", line 440, in get_flowNN_gradient
videoNonLocalFlowB[:, :, :, 0, indFrame],
TypeError: 'NoneType' object is not subscriptable
In video_completion.py
and get_flowNN_gradient.py
, there is not defined videoNonLocalFlowB
, videoNonLocalFlowF
.
How can I get this value?
from fgvc.
Hi @21pl,
Sorry for the late reply. Now the code supports non-local flow. You can enable the --Nonlocal
flag.
Please note that I haven't thoroughly tested the correctness of the non-local flow (this codebase is different from the one I used for ECCV).
Hope this helps. Please let me know if there is anything I can help with.
from fgvc.
Related Issues (20)
- Object removal task evaluation code HOT 3
- RuntimeError: Error keeps saying "to have 3 channels, but got 4 channels instead" HOT 1
- The implementation of the homography warp before optical flow calculation HOT 4
- Inpainting doesn't seem to clean up intermediary files HOT 2
- server for weights.zip and data.zip seems unreachable HOT 5
- 对于较少背景移动时,去除文字水印,会出现填充拖影问题 HOT 1
- How can I train a new model on a different dataset? HOT 4
- Same problem result of '--Nonlocal' (as issue #52) HOT 2
- Where can I read about all those parameters such as edge guide, mixed precisions and so on? HOT 1
- Code Error in non-local optical flow concatenation HOT 1
- RAFT Model HOT 1
- edge_guide flag HOT 1
- test question HOT 2
- Inference is not as accurate as the provided video samples HOT 4
- Evaluation Metrics HOT 2
- code question
- How to train the network? HOT 1
- Please Large FOV colab
- Dependencies can't be installed in colab
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 fgvc.