Comments (3)
Hello @satwikkottur
Thanks for the solution. In my case, after running the command export PYTHONPATH="."
in simmc/mm_action_prediction/ directory, it shows the same error message.
My operating system is Ubunto 18.04 and using python 3.6.9.
After searching for solutions on internet, this may be some kind of circular import issue? Since using 'import ... as ...' in /simmc/mm_action_prediction/models/encoders/history_agnostic.py will have to wait for the whole module loaded and the modules models and models.encoders are still waiting for history_agnostic.py to be done importing.
The above problem is just my guess.
I fix this error by changing all
import models.encoders as encoders
to
from models import encoders
in four scripts: hierarchical_recurrent.py history_agnostic.py memory_network.py tf_idf_encoder.py
from simmc.
Hello @telele77 ,
Thanks for your interest. A similar concern has been reported here (#7). Updating your PYTHONPATH
to contain the current directory would make it easier to search for the module.
Run the following (once) in your command line:
export PYTHONPATH="."
Hope this helps!-
from simmc.
Thank for you for your suggestion @billkunghappy. I'll add this to the README.md.
from simmc.
Related Issues (20)
- Incorrect evaluation script provided for MM-DST baseline HOT 1
- Incorrect Hyperparameters ? HOT 8
- Baselines results for API call prediction HOT 1
- action_evaluation expected file format HOT 4
- Question about retrieval evaluation HOT 3
- Baselines results HOT 1
- Bug in baseline? (missing sigmoid) HOT 1
- Possible bugs in evaluation script in SubTask #1 HOT 2
- Are we allowed to use "turn_label" fields for subtasks 1-2 ? HOT 8
- Question about Fashion attributes HOT 1
- SubTask #3 evaluation lower case issue HOT 1
- Bug in mm_dst baseline HOT 1
- Question about submission models HOT 2
- Question about test-std files HOT 9
- Question about the new evaluation method for Task 1&2 HOT 1
- KeyError caused by ~teststd_dials_retrieval_candidates_public.json HOT 1
- How to get images HOT 2
- bug in run scripts/preprocess_simmc.sh HOT 3
- Question about mm_action_prediction/scripts/train_simmc_model.sh HOT 1
- How can I get images of fashion items?
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 simmc.