Comments (9)
reinstall python is ok
from yolo2-pytorch.
@232824787 Hi, I have run into the same problem. Could you share your solution with more detail? The error of mine is as following:
Traceback (most recent call last):
File "detect.py", line 33, in <module>
import pybenchmark
File "/home/me/anaconda2/envs/pyyolo/lib/python3.5/site-packages/pybenchmark/__init__.py", line 1, in <module>
from .profile import profile, stats, kpystones, pystones
File "/home/me/anaconda2/envs/pyyolo/lib/python3.5/site-packages/pybenchmark/profile.py", line 3, in <module>
from test import pystone # native python-core "PYSTONE" Benchmark Program
ImportError: cannot import name 'pystone'
from yolo2-pytorch.
I ran into the same problem....
from yolo2-pytorch.
Quick Fix: You can checkout a copy of pystone.py from the cpython github repository and copy it to a test directory that is present in your PYTHONPATH. Or you would copy it to a test directory in your python project's root (ugly way).
Perhaps Anaconda Python does not ship with a copy of the test module. This is a standard part of Python 2.7. Other times, users accidentally overwrite their Python standard library's test module with something else. You can try to use the Python version that is shipped with OS X instead. If that fails as well, then try to see which test module is being loaded, and go from there.
from yolo2-pytorch.
@diggerdu Thanks for your kindness. I have solved the problem and forgot to write my solution down. My solution was just the same with your second solution and I indeed used Anaconda.
from yolo2-pytorch.
@xmfbit
hi~ sorry for bothering u
the pystone.py I found only match python2,
so can u tell me where I can find the proper file(pystone.py)?
best wishes!
from yolo2-pytorch.
from yolo2-pytorch.
@diggerdu thx~
from yolo2-pytorch.
@diggerdu do you know how to fix the problem #8 ?
from yolo2-pytorch.
Related Issues (16)
- requirements.txt HOT 1
- train with mobilenet HOT 4
- Error when convert darknet model to torch too
- Error happened when convert pretrained darknet model
- Caffe2 Deployment
- Train with GTX 1080 and Anchor Boexes
- YOLOv3 support
- Question on yolo backward function
- How to convert the densenet201_yolo.cfg and the .weights to torch??
- map
- Good job
- cache.py not enough values to unpack (expected 2, got 1) HOT 2
- yolo2-pytorch/model_20/model.yolo2.Darknet.ini not found HOT 1
- Error when convert darknet model to torch HOT 2
- Several issues about reproducing darknet results 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 yolo2-pytorch.