Comments (6)
Hmm that is pretty weird indeed. I do most of my testing on Win10 so it's probably not solely a Windows issue. Not to mention, importing Yolact should not instantiate any tensors, so changing the default tensor type before importing should have no effect (key word I guess there is should). Maybe it has to do with your environment?
What's your Pytorch, CUDA, and Python versions? Are you on the latest commit? And when you say "run the eval.py says cuda unkown error, the error locates at...", do you mean line 975 in eval.py
?
from yolact.
- try both pytorch cu90-1.0.1 and cu90-1.1.0. by the way, I would like to try cu100-1.1.0,but failed when install...
- python version is 3.6.
- clone the project today...
- run the eval.py in two ways
- use cmd, like
python eval.py --video 'test.mp4' ......
- use pycharm, edit the default args' value, then right click,then run..
- use cmd, like
from yolact.
haha... try another way, edit the yolact.py as follows to make jit disable, then works.
use_jit = torch.cuda.device_count() <= 1
if not use_jit:
print('Multiple GPUs detected! Turning off JIT.')
use_jit = False
ScriptModuleWrapper = torch.jit.ScriptModule if use_jit else nn.Module
script_method_wrapper = torch.jit.script_method if use_jit else lambda fn, _rcn=None: fn
from yolact.
Okay it looks like this is a known Pytorch issue (pytorch/pytorch#17108) on windows with some Nvidia drivers for Pytorch 1.0.1 and above.
I think the problem is actually with that piece of code there, which would be affected by the above issue. Can you revert your changes and pull my latest commit to see if that workaround fixed this?
from yolact.
@dbolya it works...hahah you're pretty good... thanks a lot.. xiexie dashen
from yolact.
Good to hear! Yeah Pytorch doesn't test as much as it potentially should on Windows.
from yolact.
Related Issues (20)
- Hyperparameter tuning
- AP输出
- Loss curve
- Just wonder how this project make the results sync while using thread pool
- How to change the network
- How to draw a specific shape on the screen while recognizing a specific object?
- epoch
- How to pick the best epoch? HOT 1
- KeyError 2156740059
- small-, medium-, large-mAP definition?
- Question on DCN implementation
- mAP and AR: definition of small medium large ? HOT 2
- Handling negative images or images with no object of interest
- After entering the verification command, do not display the verified image
- After entering the verification command, do not display the verified image
- I get Illegal instruction (core dumped)
- "mtrand.pyx", line 936, in numpy.random.mtrand.RandomState.choice HOT 2
- How to get the coordinates and polygon information of evaluation results
- Post processing process issues
- There is a bug when I want to do test with yolact. HOT 1
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 yolact.