Comments (5)
@vestri I think it should be
MaskFlownet.yaml
instead ofMaskFlownet_S.yaml
, if you are using pretrained weights8caNov12
. If you would like to runMaskFlownet_S.yaml
, please use pretrained weightsabbSep15
ordbbSep30
instead.
Hello, thank you very much for your excellent work. I complete the optical flow extraction of the custom dataset based on MaskFlownet, and obtained the optical flow file. However, and there was a mistake when I used the visualization code to visualize the optical flow file obtained from the previous step. Would you like to release your code of flow map visualization to help me identify where the errors occurred (I refer to sintel.py to complete my experiment)? Thank you very much.
my visulization code comes from here: https://github.com/tomrunia/OpticalFlow_Visualization, it works well with FlowNet2
from maskflownet.
I have complete this requirement, but the calculated flow visualization was wrong (the flow I calculated with Flownet2 using the official suggested visualization code was correct). After I solve this problem, I can upload a copy of my code in a few days.
from maskflownet.
Hi, thanks for sharing.
I am trying to test your model on a pair of image but could not make it working.
I installed Python 3.6.10 and mxnet1.5 using anaconda and all necessary modules.
By now it crashes when reading the model, something is missing. Here is my command:
python main.py MaskFlownet_S.yaml -c 8caNov12 --predict --clear_steps --debug
and result is:
[('C:\Users\cvestri\Work\Dev\RDVision\Code\MaskFlownet\logs\8caNov12-1532.log', '8caNov12-1532', '-1532')]
Default FLAGS..network.flow_multiplier to 1.0
Default FLAGS..network.deform_bias to True
Default FLAGS..network.upfeat_ch to [16, 16, 16, 16]
Default FLAGS..network.mw to [0.005, 0.01, 0.02, 0.08, 0.32]
Default FLAGS..optimizer.q to None
Default FLAGS..optimizer.learning_rate to None
Load Checkpoint C:\Users\cvestri\Work\Dev\RDVision\Code\MaskFlownet\weights\8caNov12-1532_300000.params
load the weight for the network
Traceback (most recent call last):
File "main.py", line 136, in
pipe.load(checkpoint)
File "C:\Users\cvestri\Work\Dev\RDVision\Code\MaskFlownet\network\pipeline.py", line 57, in load
self.network.load_parameters(checkpoint, ctx=self.ctx)
File "C:\Users\cvestri\AppData\Local\conda\conda\envs\py36_mxnet\lib\site-packages\mxnet\gluon\block.py", line 394, in load_parameters
cast_dtype=cast_dtype, dtype_source=dtype_source)
File "C:\Users\cvestri\AppData\Local\conda\conda\envs\py36_mxnet\lib\site-packages\mxnet\gluon\parameter.py", line 968, in load
name[lprefix:], filename, _brief_print_list(arg_dict.keys()))
AssertionError: Parameter 'hybridsequential0_conv1aweight' is missing in file 'C:\Users\cvestri\Work\Dev\RDVision\Code\MaskFlownet\weights\8caNov12-1532_300000.params', which contains parameters: 'maskflownet_s0_maskflownet_s0_hybridsequential0_conv1aweight', 'maskflownet_s0_maskflownet_s0_hybridsequential0_conv1abias', 'maskflownet_s0_maskflownet_s0_hybridsequential1_conv1bweight', ..., 'maskflownet_s0_deform3weight', 'maskflownet_s0_deform3bias', 'maskflownet_s0_deform2weight', 'maskflownet_s0_deform2bias'. Please make sure source and target networks have the same prefix.it is the same with mxNet 1.6
Thanks
I have complete this requirement, but the calculated flow visualization was wrong (the flow I calculated with Flownet2 using the official suggested visualization code was correct). After I solve this problem, I can upload a copy of my code in a few days.
from maskflownet.
@vestri Hi, thanks for your interest.
I met similar errors before, but they are due to the incorrect prefix of weight parameters. Have you tried other weights? Is 8ca the only one leading to this error?
from maskflownet.
@vestri I think it should be MaskFlownet.yaml
instead of MaskFlownet_S.yaml
, if you are using pretrained weights 8caNov12
. If you would like to run MaskFlownet_S.yaml
, please use pretrained weights abbSep15
or dbbSep30
instead.
from maskflownet.
Related Issues (20)
- A question on VCN performance in Table 1 HOT 2
- Error in operator maskflownet0_maskflownet_s0_upsample0_reshape_like0 HOT 1
- Details about fine-tune in the Flyingthings3D HOT 3
- Some problems about MXNetError HOT 2
- TensorFlow or Pytorch port HOT 1
- Can you provide the .state file? HOT 3
- RAM leak problem when training in command batch_queue.get(). Where do you release resources once a batch is trained. HOT 3
- Questions about the provided checkpoints HOT 2
- Mask visualization problem HOT 3
- Typo in network code HOT 1
- Finetuning on chairsSDHom epe doesn't go down. HOT 1
- BGR vs RGB input HOT 1
- What is the variable F in your code please . . . HOT 2
- How to adjust the parameter?
- Question about provided models
- How can I infer my own data by net MaskFlownet_S?
- There is not Network Configuration yaml files
- could not find the yaml file
- Question regarding Occlusion-Aware Pyramid
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 maskflownet.