Comments (9)
Hi, thanks for sharing this work
I'm having a segmentation fault when running online_demo code. Here is the error:
UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. warnings.warn("The use of the transforms.Scale transform is deprecated, " + Build Executor... Segmentation fault (core dumped)
I found that the program is crashing in line 35 of the main.py file and I'm currently using the LLVM-4.0.0 on ubuntu 16.04.
relay_module, params = tvm.relay.frontend.from_onnx(onnx_model, shape=input_shapes)
Can anyone replicate this problem?
Thanks for your help.
Hi, we met the same problem as you yesterday, and later we reinstalled oonx, pip install onnx==1.5.0 to solve the segmentation fault. And in main.py, line 37, change tvm.relay.build to tvm.relay.build_module.build. Online_demo code works now.
from temporal-shift-module.
Hi,
This line transforms the onnx model to tvm relay module.
- Can you check that your tvm and onnx have been installed correctly and are the latest version?
- Also, you can debug the program and step into this function to figure out which part causes the problem.
from temporal-shift-module.
I have the same problem,
Hi, thanks for sharing this work
I'm having a segmentation fault when running online_demo code. Here is the error:
UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. warnings.warn("The use of the transforms.Scale transform is deprecated, " + Build Executor... Segmentation fault (core dumped)
I found that the program is crashing in line 35 of the main.py file and I'm currently using the LLVM-4.0.0 on ubuntu 16.04.
relay_module, params = tvm.relay.frontend.from_onnx(onnx_model, shape=input_shapes)
Can anyone replicate this problem?
Thanks for your help.
I have the same problem, how do you solve it?
from temporal-shift-module.
Hi, it is hard to diagnose the problem with just segmentation fault. Could you please provide more error log regarding the problem, or provide a minimal script to reproduce the error?
from temporal-shift-module.
Hi @rachillesf, can you solve the problem using the solution from @karenz17 ?
from temporal-shift-module.
I solve the problem using the solution from @karenz17 in my laptop with ubuntu18.10. By the way, it seems not need opencv4 to run the online-demo, i just use the opencv3.5.
from temporal-shift-module.
@karenz17 Hi, can you provided the version of tvm, onnx, LLVM, torch and python? Thank you very much!
from temporal-shift-module.
Hi I experienced the same problem of Segmentation Fault while running the online demo. I tried the above solution of re-installing the onnx==1.5.0, but I haven't changed the line 37 of main.py. And the demo works now.
Here's my environment:
Ubuntu 18.04, Cuda 9.1
pytorch=1.2.0, torchvision=0.4.0 installed using pip3 install torch==1.2.0+cu92 torchvision==0.4.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
onnx=1.5.0
from temporal-shift-module.
Hi, I have updated the repo to use onnx-simplifier
and some other minor changes. The demo should directly work now. Feel free to reopen if the error persists. Thanks!
from temporal-shift-module.
Related Issues (20)
- Question on online google maps HOT 1
- Unable to understand average_duration > 0 and record.num_frames > self.num_segments: HOT 1
- nvidia
- Excuse me, the parameters controlling the time shift are false. Where can I call them
- Acc1 about training HMDB51 pretrained on Imagenet HOT 5
- Rebuild DPU kernel
- Trying to understand fold_div
- Can not download the pretrained models HOT 3
- How to set up the correct combination of shift_div and frame_count? HOT 1
- the pretrained model link is broken. It shows as text but not downloading HOT 2
- How to extract my own dataset and where is the pre-trained model?
- Question about online demo
- On the precision of something-something-v1
- Confusion about the parameter.
- nll_loss_forward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [0,0,0] Assertion `t >= 0 && t < n_classes` failed.
- questions about raspberrypi
- TSM model checkpoint download links not working HOT 2
- Which parameter in the code corresponds to the channel shift ratio? Is it 'shift_div'?
- How to train pretrain model with Kinetics dataset? About choosing parameters
- TypeError: 'IntImm' object cannot be interpreted as an integer
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 temporal-shift-module.