Comments (10)
Have you tried this?
- rename utils.py to vit_utils.py in facebookresearch_dino_main directory
- change
from utils import
tofrom vit_utils import
from sinnerf.
it seems to be some loading issue. maybe try modifying the
/home/zhangzhongwei18/.cache/torch/hub/facebookresearch_dino_main/vision_transformer.py
to make it work
ok,thanks for your reply ,I've solved this problem by referring to this: ultralytics/yolov5#2414
from sinnerf.
Have you tried this?
- rename utils.py to vit_utils.py in facebookresearch_dino_main directory
- change
from utils import
tofrom vit_utils import
not yet, but as it all goes well now I dare not to change anything.
I think maybe it's about module remaining in cache or something like that as mentioned before yolov5/issues/2414
rather than path issue nor reuse name problem, since pop works well, I think it's good to just pop the utils out :)
from sinnerf.
it seems to be some loading issue. maybe try modifying the /home/zhangzhongwei18/.cache/torch/hub/facebookresearch_dino_main/vision_transformer.py
to make it work
from sinnerf.
Thanks for letting me know!
from sinnerf.
Hi, sorry to bother you. I have a excatly same issue as yours and I'm a freshman so that it's really hard for me to fix it, could you please show me more details about how to modify the code? I'd appreciate it if you can write back, all the best:)
from sinnerf.
I add
sys.modules.pop('utils')
in torch/hub/facebookresearch_dino_main/vision_transformer.py
before from utils import trunc_normal_
it seems alright but I don't know whether it's correct, how did you fix it? please show me if it's possible, all the best:)
from sinnerf.
one way is to rename the utils.py in facebookresearch_dino_main directory
from sinnerf.
one way is to rename the utils.py in facebookresearch_dino_main directory
I tried
sys.path.append('path')
still cannot import...... maybe it's just supposed to be popped.......
thank you very much for replying to me:)
from sinnerf.
Rename utils
in this folder.
from sinnerf.
Related Issues (20)
- nan HOT 6
- How do you get the depth maps of RGB images like LLFF HOT 2
- How to get the depth map HOT 2
- quadratic images and depth of synthetic dataset HOT 4
- Pretrained models HOT 1
- Question about angle variable HOT 1
- Regarding results in the table 2 HOT 1
- Forward warping HOT 4
- There is a problem in image warping on LLFF dataset. HOT 12
- Testing poses for the result videos HOT 3
- Confusion about the inverse-depth-smooth-loss HOT 2
- how to generate depth of LLFF dataset HOT 1
- Overall Loss Function HOT 1
- How many scans are used to evaluate on DTU? HOT 2
- how to fix "cannot import name 'trunc_normal_' from 'utils'"? HOT 1
- How do I train SinNeRF with my own single RGBD image? HOT 1
- Unseen views during training HOT 1
- Question about the rectified DTU dataset. HOT 1
- Building an inference pipeline without evaluation
- 想问一下训练lego这个例子需要多长时间,我使用一张3090显卡,训练了2天,才训练了一百多个epochs
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 sinnerf.